You need to sign in to do that
Don't have an account?
![ArrgHunter ArrgHunter](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
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.
![User-added image](/forums/servlet/rtaImage?eid=9062I000000XsgP&feoid=Body&refid=0EM2I000000ebCB)
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