FluidTYPO3\Fluidpages\Tests\Unit\Backend\PageLayoutSelectorTest::testRenderOption PHP Method

testRenderOption() public method

public testRenderOption ( )
    public function testRenderOption()
    {
        $correctForm = $this->getMock('FluidTYPO3\\Flux\\Form', array('getLabel'));
        $correctForm->expects($this->once())->method('getLabel')->willReturn('label');
        $instance = new PageLayoutSelector();
        $result = $this->callInaccessibleMethod($instance, 'renderOption', $correctForm, array());
        $this->assertNotEmpty($result);
    }