+ Start a Discussion
a!a! 

please write the testmethod for this

public with sharing class ChangeOwner {
    public String getQ() {
        return null;
    }


    public String getPUL() {
        return null;
    }

}

 

thanking you in advance

SamuelDeRyckeSamuelDeRycke

What is so difficult about that, have you made any attempt yourself ?

 

@isTest
static void testChangeOwner(){
 ChangeOwner co = new ChangeOwner();

 system.assertEquals(null, co.getQ());
 system.assertEquals(null,co.getPUL());
}

 

Should work as far as my coding knowledge goes.