tag:blogger.com,1999:blog-2762312804537654146.post5857026761760610370..comments2023-08-24T12:06:17.893+01:00Comments on Super Duper Code: Apex Mocks MatchersAnonymoushttp://www.blogger.com/profile/05661077803935743665noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2762312804537654146.post-43724296964437170002017-09-14T00:14:12.413+01:002017-09-14T00:14:12.413+01:00There is a syntax error in the code sample for &qu...There is a syntax error in the code sample for "If you want to throw an exception from a void method,..." Line 9 and 11 have an extra parenthesis in the arguments to doThrowWhen. Specifically, line 9 should be: "((fflib_MyList.IList) mocks.doThrowWhen(ce, mockList)).add('concrete');"cropredyhttps://www.blogger.com/profile/03074568738401464581noreply@blogger.comtag:blogger.com,1999:blog-2762312804537654146.post-14404848353654510362017-08-31T18:36:12.156+01:002017-08-31T18:36:12.156+01:00This is very helpful. I was/am puzzled as to why t...This is very helpful. I was/am puzzled as to why the library doesn't include matchers for setContains or mapContainsKey (or for that matter, any set/map matchers)?cropredyhttps://www.blogger.com/profile/03074568738401464581noreply@blogger.com