Unit Test: Can we mock relationships in Salesforce Apex?
A technical article about a Data Layer pattern to mock records relationships in Apex. It's very useful when you need to improve tests performance. 
Tags: apex, salesforce, dev, testing