Instead of ResourceResolverType.JCR_MOCK you could try using:AemContext context = new AemContext(ResourceResolverType.JCR_OAK);This type of AemContext should pretty much work as if there was actual JCR, in fact if I recall correctly, it creates a JCR tree in-memory. I believe it could be working on ...