apex-enterprise-patterns / fflib-apex-mocks

An Apex mocking framework for true unit testing in Salesforce, with Stub API support
BSD 3-Clause "New" or "Revised" License
423 stars 214 forks source link

No jar file? #105

Closed karimo94 closed 3 years ago

karimo94 commented 3 years ago

I'm trying to leverage this so I can make my own mock tests but I cannot seem to find the jar file used in generating the interface and mock classes. Any ideas? Am I missing something here?

ImJohnMDaniel commented 3 years ago

@karimo94 -- The JAR file approach has not been needed for a couple of years now. The mocking framework now utilizes the stubbing API to manage the mocks (see the fflib_ApexMocks class, "mock" method for more details). Also check out the fflib_ApexMocksTest test class for a working example. Hope this helps.