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
This might help you http://salesforce.stackexchange.com/questions/10988/how-to-write-a-unit-test-test-class-for-trigger
public static testMethod void methodname() {
Customobject__C c1 = new Customobject__C;
c1.fieldname__c = value;
update( c1 );
}
I have typed a general code.change it for your requirement