How to write test class for wrapper class in salesforce
Following code will be helpfull to cover wrapper class: Account acc=new Account (); acc.Name=’test‘; insert acc; Checkbox_Class.accountwrapper wrap=new Checkbox_Class.accountwrapper (acc); I hope you find the above solution helpful. Full Answer How to set a wrapper class before calling the class? You have already called a class which invokes the wrapper class. This will automatically call … Read more