How to call getter method in Salesforce test class?

Sample Code:

public List < SelectOption > exampleProperty {
    get {
        //Do something;
    }
}

Test Class code:

List < SelectOption > tempOptions = obj.exampleProperty;

Cheers!!!

No comments:

Post a Comment