i'm working on a test class and its giving a false positive. i wish to assert the result of the method being tested to see what the failure message is.
my test class ends with this
Test.startTest();
LifeLargeCaseReviewCtrl.createLLCRCase(caseObj, policyList, propObj, cdl.Id);
Test.stopTest();
how can i gather the return value of createLLCRCase()
and write an assertion against it to get the message?
LifeLargeCaseReviewCtrl.createLLCRCase()
? – Mark Pond Nov 5 '20 at 20:50