use Symfony\Component\Form\FormView;
use Symfony\Component\Form\Test\FormIntegrationTestCase;
class FormExtensionFieldHelpersTest extends FormIntegrationTestCase
{ private FormExtension
$rawExtension;
private FormExtension
$translatorExtension;
private FormView
$view;
protected function getTypes() { return [new TextType(),
new ChoiceType()];
} protected function setUp(): void
{ parent::
setUp();
$this->rawExtension =
new FormExtension();
$this->translatorExtension =
new FormExtension(new StubTranslator());
$data =
[ 'username' => 'tgalopin',