Test Class for Standard Controller in Salesforce Nitesh Kumawat No comments Sample Code: Account a = new Account(Name = 'Test');Class_Name obj = new Class_Name(new ApexPages.StandardController(a));here the controller is referred to a page where the standard controller is Account. Share This: Facebook Twitter Google+ Stumble Digg
0 comments:
Post a Comment