public canRemoveFieldFromContainerByInstance ( ) |
public function canRemoveFieldFromContainerByInstance()
{
$form = $this->getEmptyDummyForm();
$field = $form->createField('Input', 'test');
$form->add($field);
$form->last()->remove($field);
$this->assertFalse($form->last()->has('test'));
}