protected function setUp() { parent::setUp(); $this->form = $this->factory->create('repeated', null, array( 'type' => 'field', )); $this->form->setData(null); }
protected function getExtensions() { return array_merge(parent::getExtensions(), array(new DoctrineOrmExtension($this->createRegistryMock('default', $this->em)))); }
protected function getExtensions() { return array_merge(parent::getExtensions(), array(new DoctrineMongoDBExtension($this->documentManager))); }
protected function getExtensions() { return array_merge(parent::getExtensions(), array( new CsrfExtension($this->csrfProvider), )); }
protected function getExtensions() { return array_merge(parent::getExtensions(), array( new ValidatorExtension($this->validator), )); }
public function setUp() { parent::setUp(); \Locale::setDefault('en'); }
protected function getExtensions() { return array_merge(parent::getExtensions(), array( new DoctrineOrmExtension($this->em), )); }
protected function tearDown() { parent::tearDown(); $this->objectChoices = null; }
protected function setUp() { parent::setUp(); $this->form = $this->factory->create('file'); }