public function testGetInheritanceTree(array $input, array $expected)
{
$record = array('uid' => 1);
$instance = $this->getMock('FluidTYPO3\\Fluidpages\\Provider\\PageProvider', array('loadRecordTreeFromDatabase'));
$instance->expects($this->once())->method('loadRecordTreeFromDatabase')->with($record)->willReturn($input);
$result = $this->callInaccessibleMethod($instance, 'getInheritanceTree', $record);
$this->assertEquals($expected, $result);
}