}
public void testSetParentPage() throws HeapException {
final LeafPage leafPage = new LeafPage(0, true);
leafPage.setPageRecord(PAGE_RECORD);
final IPageRecordable parentPage = new MockPageRecordable();
final int inParentIndex = 5;
leafPage.setParentPage(parentPage, inParentIndex);
assertEquals("bad parent page", parentPage, leafPage.getParentPage());
assertEquals("bad in parent index", inParentIndex,
leafPage.getInParentIndex());