function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
Can anybody provide a sample class (controller/extension) and its test method to me?
Thank you!
Sakshi
Hey
From the documentation: http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_error_handling.htm
Wes
Account acc = new Account(Name = 'TEST ACC') ;insert acc;ApexPages.StandardController c = new ApexPages.StandardController(acc);classname inst = new classname(c);inst.methodname();
Hey
From the documentation: http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_error_handling.htm
Wes