function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NLTNLT 

Test class to the wrapper class.

Hi All,

Can any one provide the test class for below wrapper class.

public class TestOPW{
    public Integer bsId;
    public Integer documentId;
    public List<Items> items;
   
    public class ConfigData {
        public String config_brand;
        public String opportunityProductId;
        public String opportunityProductQuantity;
        public String opportunityDescription;
        public String seriesCode;
        public ModelTruck modelTruck;
    }
    public class ModelTruck {
        public cls_value value;        
        public boolean locked;
    }
    public class cls_value {
        public String value;
        public String displayValue;
    }
    public class Items {
        public String productFamily;
        public String productLine;
        public String model;
        public ConfigData configData;
    }
}
AnkaiahAnkaiah (Salesforce Developers) 
Hi Lakshman,

Refer the below link will help to proceed further on your test class.
https://developer.salesforce.com/forums/?id=9062I000000IXrqQAG

Thanks!!