Thank you for your reply! Where does the method
"getResourceResolverForPage()" come from?I was tasked with writing an
actual integration test, not a unit test so I can not rely on the
AemContext or Mockito...
In my integration test I want to create a Content Fragment in a
testfolder and then implement this Content Fragment in a testpage.
(Sidenote: Manually everything I want to do in this test works.)So far I
managed to create a testpage and a testfolder, but I couldn't find a
solution to create a Content Fragment. This code shows how I created a
user (admin). @ClassRulepublic static final CQAuthorClassRule
cqBaseClassRule = new CQAuthorClassRule();@Rulepublic CQRule cqBaseRule
= new CQRule(cqBaseCla...