public function testRenderOptions($extension, $expectedTitle)
{
$instance = $this->getMock('FluidTYPO3\\Fluidpages\\Backend\\PageLayoutSelector', array('renderOption'));
$instance->expects($this->any())->method('renderOption')->willReturn('');
$forms = array(Form::create(array('extensionName' => $extension)));
$result = $this->callInaccessibleMethod($instance, 'renderOptions', $extension, $forms, array());
$this->assertContains($expectedTitle, $result);
}