Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Unit Testing Hands on - For WCMUsePojo


Community Advisor

Indexing in AEM - Indexing modes and Index Types (34).png


Prior to Sling Models, WCMUsePojo is used/recommended for performing back end operations as part of AEM component development. Writing unit test for the same involves mocking the Bindings API and providing dummy implementation.

This post starts with quick recap about WCMUsePojo and hence writing test statements for the same with simple use case.

Blog content:



2 Replies



Appreciate your sharing this. Making this as featured thread. 

Kautuk Sahni