How to Write a test Class for Wrapper Class or Dto Class,how to call Wrapper Class in Test Class Please anyone Provide with Sample Example
You can simply create object of inner or wrapper class by this way:
ViewRelatedController.PageSection page = new ViewRelatedController.PageSection();
pagesection here is inner class
Note: Your inner class must be public for this.