FluidTYPO3\Flux\Tests\Unit\FormTest::canAddSameContainerTwiceWithoutErrorAndWithoutDoubles PHP Метод

canAddSameContainerTwiceWithoutErrorAndWithoutDoubles() публичный Метод

    public function canAddSameContainerTwiceWithoutErrorAndWithoutDoubles()
    {
        $form = $this->getEmptyDummyForm();
        $sheet = $form->createContainer('Sheet', 'sheet', 'Sheet object');
        $form->add($sheet)->add($sheet);
        $this->assertTrue($form->has($sheet));
    }