*/ class TestCase extends \PHPUnit_Framework_TestCase { public function setUp() { if (!file_exists($file = $this->getContainer()->getParameter('kernel.root_dir').'/../vendor/propel/runtime/lib/Propel.php')) { $this->markTestSkipped('Propel is not available.'); } require_once $file; } public function getContainer() { return new ContainerBuilder(new ParameterBag(array( 'kernel.debug' => false, 'kernel.root_dir' => __DIR__.'/../../../../', ))); } }