Junit test case return NULL error at the time of adapt resource on sling model based on delegation pattern
Hi All,
I am facing NullPointerException on ButtonModelTest. ButtonModel class is created based on delegation pattern, which implements Button(core component class).
1 .Button Model class

2. ButtonModelTest

I am facing error at line 45, at the time of get the properties, even my json file is correct.
Please help me find the solutions for junit test case for delegation pattern model classes.
Thanks in Advance.
