The next series of posts will form a basic tutorial series explaining how to use the ApexMocks framework in detail. The things we will cover are:
- Simple dependency injection
- Defining your component interface
- Defining your implementation class
- Using apex-mocks-generator to inject mock dependency classes into your unit test class
- Writing behaviour verification tests
- Writing tests which stub dependencies
Pingback: Verify call’s order in Apex unit tests – XoNoX Force
Pingback: Answering with Apex Mocks – XoNoX Force