I have noticed very strange behavior while executing test.
In one method on the class i test Savepoint is created. This method is used also in test for creation of records. After that there is a startTest statement so it should run ok.
But for some reason i get:You cannot make callout after creating a Savepoint exception thrown. I tried googling but there is not a single result that would even appear.
What makes it even weirder is that the the similar setup works in another test case.
Has anyone ecountered this?
Savepoint
?