protected function setUp() { parent::setUp(); if (!extension_loaded('intl')) { $this->markTestSkipped('The "intl" extension is not available'); } }
protected function setUp() { parent::setUp(); $this->form = $this->factory->create('repeated', null, array( 'type' => 'field', )); $this->form->setData(null); }
protected function setUp() { parent::setUp(); if (!class_exists('Symfony\\Component\\Locale\\Locale')) { $this->markTestSkipped('The "Locale" component is not available'); } if (!extension_loaded('intl')) { $this->markTestSkipped('The "intl" extension is not available'); } }
protected function tearDown() { parent::tearDown(); $this->provider = null; }
protected function setUp() { parent::setUp(); $this->provider = $this->getMock('Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface'); }