Last active
July 22, 2021 21:09
-
-
Save gitmatheus/44a001492c775b53a3b914b0ba9b5aac to your computer and use it in GitHub Desktop.
Mock relationships in Apex - 04 of 05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@isTest | |
private class DataLayerHandler_Test { | |
private static MockDataLayer dataLayer; | |
public class MockDataLayer implements DataLayerHandler.IDataLayer { | |
List<Account> documentAccounts = new List<Account>(); | |
List<Document__c> mockDocuments = new List<Document__c>(); | |
List<Document__c> getDocumentList(){ | |
return mockDocuments; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment