String CLIENT_ID = adm.Client_ID__c; String CLIENT_SECRET = adm.Client_Secret__c; String USERNAME = adm.Username__c; String PASSWORD = adm.Password_with_Security_Token__c;
how to write test class for this metadata
4 respostas
You dont need to write a test class for custom metadata. also you dont need to create a test record for custom metadata as it is always available in test class even if you keep seealldata=false in test class