You need to sign in to do that
Don't have an account?
Jonathan Crow 10
Writing Apex Test class for Get and Set
I am still trying to understand test classes so any help is apprecated.
I have a statement in my Apex class:
public Organization runningOrg {
get {
return [SELECT Id, IsSandbox FROM Organization LIMIT 1];
}
set;
}
How do I test against this?
I have a statement in my Apex class:
public Organization runningOrg {
get {
return [SELECT Id, IsSandbox FROM Organization LIMIT 1];
}
set;
}
How do I test against this?