"port" of Moq to Salesforce/Apex