AEM Mockito Junit testing for nested dailog box or multifield
I am new to implement AEM Mockito testing and want to write junit test cases for nested dailog box for an example We have one model class "AccordionListModel" which contain the list of "AccordionModel"
While writing Junit not getting model class reference (AccordionListModel.java) via adaptTo method
Below are the attached files for reference:
-AccordionListModel.java

-AccordionModel.java

- AccordionListModel.json

AccordionListModelTest.java
