You need to sign in to do that
Don't have an account?
ArrgHunter
Pattern and Mattcher in Unit Test
Hi Everyone,
i am usising Pattern and Matcher Functions in class and need some direction to cover that part of the code in unit test. i am unable to cover the below code.
thanks in Advance
i am usising Pattern and Matcher Functions in class and need some direction to cover that part of the code in unit test. i am unable to cover the below code.
{ if(mapOrpIdWithContentId.get(r.Orphan__c)!= null) { Matcher MatcherOrpPicture = PatternOrpPicture.matcher(CV_FileName.title+'.'+CV_FileName.FileExtension); if (MatcherOrpPicture.matches()) { r.Orphan_Image__c = SetImageURL + mapOrpIdWithContentId.get(r.Orphan__c); updateReports.add(r);
thanks in Advance