/** * {@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} */ 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} */ public function tearDown() { parent::tearDown(); @unlink($this->file); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->manager = $this->getContainer()->get('ongr_translations.translation_manager'); }