/** * {@inheritdoc} */ public function setUp() { parent::setUp(); // Set up custom document to test mapping with. $this->documentDir = $this->getContainer()->get('kernel')->locateResource('@AcmeTestBundle/Document/'); $this->file = $this->documentDir . 'Article.php'; }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $app = new Application(static::$kernel); $app->add($this->getImportCommand()); $this->command = $app->find('ongr:translations:import'); $this->commandTester = new CommandTester($this->command); }
/** * {@inheritdoc} */ public function setUp() { $this->markTestSkipped('Needs to be fixed'); parent::setUp(); // Set up custom document to test mapping with. $this->documentDir = $this->getContainer()->get('kernel')->locateResource('@AcmeBarBundle/Document/'); $this->file = $this->documentDir . 'ProductDocument.php'; }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); vfsStream::setup('translations_test'); $app = new Application(static::$kernel); $app->add($this->getExportCommand()); $this->command = $app->find('ongr:translations:export'); $this->commandTester = new CommandTester($this->command); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); vfsStream::setup(self::STREAM); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->container = self::createClient()->getContainer(); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->manager = $this->getContainer()->get('ongr_translations.translation_manager'); }