This test is checking for page duplication in two cases Case 1: standard duplication Case 2: duplication with a fixed page setting The seconds case shows that it's possible to use the withFixedTopPage to set the top page to arbitrary value and completely bypass page determination logic This is needed in some edge cases were automatic determination is not possible due to the object not being assigned to the parent object at the time of duplication but rather later
Signature
public function testPageDuplication(int
$fixedPageID )