4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Form\Test
;
14 use Symfony\Component\Form\Forms
;
17 * @author Bernhard Schussek <bschussek@gmail.com>
19 abstract class FormIntegrationTestCase
extends \PHPUnit_Framework_TestCase
22 * @var \Symfony\Component\Form\FormFactoryInterface
26 protected function setUp()
28 if (!class_exists('Symfony\Component\EventDispatcher\EventDispatcher')) {
29 $this->markTestSkipped('The "EventDispatcher" component is not available');
32 $this->factory
= Forms
::createFormFactoryBuilder()
33 ->addExtensions($this->getExtensions())
37 protected function getExtensions()