java.lang.IllegalArgumentException: Illegal page name. Error while updating mockito to 4.11.0
Hi Everyone,
I have updated the mockito version from 3.3.3 to 4.11.0 and my existing test cases started to break. I am getting below error:
ERROR!
java.lang.IllegalArgumentException: Illegal page name.
at createPage(ModelTest.java:74)
I am creating page from aemContext as aemContext.create().page("/content/test/us/en/home");
I tried to update the io.wcm.testing.aem-mock.junit5 version to 5.0.0, still getting the same error.
Regards
Kanika
