You need to sign in to do that
Don't have an account?
Starz26
Test Methods for batch Class and HTTPMock
So is there any way to use HTTPmock methods when writing test methods for a Batch Class?
I have put the test.setMock inside the test.startTest
There is NO DML going on either in the batch, the setup for the test or the mock interface....
I always get the you have uncommitted work pending when the callout is initiated by the execute method of the batch class....
Anyone?