Error in batch test class with a mock
48407
Getting CalloutException when testing Batchable class with Callouts and HttpCalloutMock
128803
Can Queueable solve "Future method cannot be called from a future or batch method"?
80874
Mockito isA(Class clazz) How to resolve type safety?
120257
Test Class - Contract Creation, Null ContractNumber Field
43016
How do you mock a Sealed class?
27586
What does "error: '.class' expected" mean and how do I fix it
50080
Test class get error System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
98645
How to unit test an object with database queries
109459
Test Class for HTTP Callout failing
37852
How to handle UNABLE_LOCK_ROW errors when this is caused by a batch APEX job
141551
Catching Error when using Task.Factory
119905
Mocking static methods with Mockito
125009
Writing test code for wrapper class
133903
Mock HttpContext.Current in Test Init Method
140302
Testing a class that has multiple callouts?
155356
Constructor not defined Error for test case
135931
What does "Method '~' of object '~' failed" at runtime mean?