This tutorial explain about the basics of writing unit test cases for aem back end modules using Junit5, Mockito and AEM Mocks. How to create test class. How to use AemContext to get aem related objects for unit test.
doc : https://experienceleague.adobe.com/do...