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