public function testGetParent() { $type = new SecurityRolesType($this->roleBuilder); $this->assertEquals('choice', $type->getParent()); }
public function testGetParent() { $type = new SecurityRolesType($this->roleBuilder); $this->assertEquals(method_exists('Symfony\\Component\\Form\\FormTypeInterface', 'setDefaultOptions') ? 'choice' : 'Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType', $type->getParent()); }
public function testGetParent() { $type = new SecurityRolesType($this->roleBuilder); $this->assertEquals('Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType', $type->getParent()); }