Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Unit Testing in AEM - Introduction


Community Advisor

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


Java class that we write as part of AEM involves Sling API/JCR API/AEM related APIs and it all ultimately targets the content on our repository. In other words, the logic revolves around the content which in AEM context, is a Resource/Node and its related properties (may it be a Sling model/WCMUsePojo/Sling Servlets/OSGI component/any related for that matter) 

This post starts with

  • Quick recap of JUnit framework
  • Mocking
  • Mock APIs available related to AEM.
  • Need to mock resource definitions

Blog Content :

2 Replies