public function testExtendedType() { $extension = new FormTypeFieldExtension(array(), array()); $this->assertEquals('field', $extension->getExtendedType()); }
public function testExtendedType() { $extension = new FormTypeFieldExtension(); $this->assertSame('field', $extension->getExtendedType()); }
public function testExtendedType() { $extension = new FormTypeFieldExtension(array(), array()); $this->assertSame(method_exists('Symfony\\Component\\Form\\AbstractType', 'getBlockPrefix') ? 'Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType' : 'form', $extension->getExtendedType()); }