I have some logic where I have to send emails about Opportunities that have certain OpportunityHistory objects at certain date times.
I would like to test this but it means I need to be able to explicitly set SystemModstamp in my test. When I try to do this, I get:
save error: Field is not writeable: OpportunityHistory.SystemModstamp
Is there anyway around this?