Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED mockPageManager, unable to test PageManager "copy".


Level 2

Hello Guys, 

I am trying to test the PageManager.copy() with, but am unable to do so. This is because the mockPageManager.copy() is not implemented. What are some other ways for me to test the PageManager.copy() command?



1 Accepted Solution


Correct answer by
Community Advisor
2 Replies


Correct answer by
Community Advisor


Level 2

Yeah, we can see that the MockPageManager.copy is not implemented.

294   public Page copy(final Page page, final String destination, final String beforeName, final boolean shallow,
295       final boolean resolveConflict) {
296     throw new UnsupportedOperationException();
297   }

What is another way to test this?