Manipulate CreatedDate property of test-context sObjects
One thing I somehow missed in the Spring ’16 update is a new method in the System.Test class called setCreatedDate() .
One thing I somehow missed in the Spring ’16 update is a new method in the System.Test class called setCreatedDate() .
I’m building a custom cloning functionality that needs to meet a few objectives, most important of which is being dynamic. I don’t want to build these out for each object in our instance.