Skip to content

Instantly share code, notes, and snippets.

@arun12209
Created January 23, 2023 03:18
Show Gist options
  • Save arun12209/9eb66a9a0b7859fd5d7d216e1f6adda4 to your computer and use it in GitHub Desktop.
Save arun12209/9eb66a9a0b7859fd5d7d216e1f6adda4 to your computer and use it in GitHub Desktop.
@isTest(SeeAllData=false)
public class MyTestClass {
static testMethod void testMyMethod() {
Account a = new Account(Name='Test Account');
insert a;
System.assertEquals('Test Account', a.Name);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment