Skip to main content
I want to write Test class for  below controller class code. Pleease help me  how to write in Test Class.

tList;

        }

        set;

    }

public List<Building_Owner__c> contactList {

        get {

            if (contactList == null) {

                contactList = [Select id,Name,Address_1__c,Address_2__c,City__c,Contractor_Branch_Location__c,Company_Company_Location12__c,Contractor_Company_Location__c,Country__c,Email_Address__c,First_Name__c,Last_Name__c,Phone_Number__c,Postal_Code__c,State__c,Time_Zone__c from Building_Owner__c];

            }

            return contac

 
3 Antworten
  1. 1. Apr. 2015, 09:32
    I have created the same but while calling giving error like that  Method or incorrect signature while calling contact list....

    buildingOwner.contactlist();

     
0/9000