Hi @PrakashBa2,
Try below options whichever you think is best suitable according to your case
Option 1: Switch to RESOURCE_RESOLVER_MOCK
Instead of JCR_MOCK, use:
public final AemContext context = new AemContext(ResourceResolverType.RESOURCERESOLVER_MOCK);
This is faster, more isolated, and doesn'...