Syntax for test class in Salesforce


private class class_Name{
static testMethod void method_Name(){

Classes defined with the isTest annotation don't count against your organization limit of 3,000,000 characters for all Apex codes. Individual methods defined with the isTest annotation do count against your organization limits.


No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit