protected function setUp() { parent::setUp(); $this->nameGenerator = new DbIdentifierNameGenerator(); $this->executor = new MigrationExecutorWithNameGenerator($this->queryExecutor); $this->executor->setLogger($this->logger); $this->executor->setNameGenerator($this->nameGenerator); }
protected function setUp() { parent::setUp(); /** @var ExtendOptionsManager $extendOptionManager */ $extendOptionManager = $this->getMockBuilder('Oro\\Bundle\\EntityExtendBundle\\Migration\\ExtendOptionsManager')->disableOriginalConstructor()->getMock(); $this->nameGenerator = new ExtendDbIdentifierNameGenerator(); $this->executor = new ExtendMigrationExecutor($this->queryExecutor); $this->executor->setLogger($this->logger); $this->executor->setNameGenerator($this->nameGenerator); $this->executor->setExtendOptionsManager($extendOptionManager); }
protected function setUp() { parent::setUp(); $this->executor = new MigrationExecutor($this->queryExecutor); $this->executor->setLogger($this->logger); }