FluidTYPO3\Fluidcontent\Tests\Unit\Service\ConfigurationServiceTest::testRenderWizardTabItem PHP Method

testRenderWizardTabItem() public method

    public function testRenderWizardTabItem()
    {
        $form = Form::create();
        $form->setLabel('bazlabel');
        $form->setDescription('foobar');
        $service = $this->getMock('FluidTYPO3\\Fluidcontent\\Service\\ConfigurationService', array(), array(), '', FALSE);
        $result = $this->callInaccessibleMethod($service, 'buildWizardTabItem', 'tabid', 'id', $form, '');
        $this->assertContains('tabid.elements.id', $result);
        $this->assertContains('title = bazlabel', $result);
        $this->assertContains('description = foobar', $result);
    }