


I have created some sling models by using a delegation pattern(by extending core components) but I've had some issues while writing unit test cases for these sling models.
Hopefully, someone can give me some suggestions. thanks
Thanks
Views
Replies
Sign in to like this content
Total Likes
Hi @jerinraj5555
Please have a look at the following test case written for class extending core component class.
https://github.com/adobe/aem-core-wcm-components/blob/main/bundles/core/src/test/java/com/adobe/cq/w...
Thanks,
Himanshu Singhal
Hi @jerinraj5555
Please have a look at the following test case written for class extending core component class.
https://github.com/adobe/aem-core-wcm-components/blob/main/bundles/core/src/test/java/com/adobe/cq/w...
Thanks,
Himanshu Singhal