FluidTYPO3\Flux\Tests\Unit\FormTest::canUseDescriptionPropertyAndReturnLanguageLabelWhenDescriptionEmpty PHP Method

canUseDescriptionPropertyAndReturnLanguageLabelWhenDescriptionEmpty() public method

    public function canUseDescriptionPropertyAndReturnLanguageLabelWhenDescriptionEmpty()
    {
        $form = $this->getDummyFormFromTemplate();
        $form->setDescription(NULL);
        $this->assertNotNull($form->getDescription());
    }