protected function setUp()
 {
     parent::setUp();
     $container = new Container();
     $application = new Application($container);
     $this->command = $application->find($this->commandName);
     $this->commandTester = new CommandTester($this->command);
 }
Пример #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->cacheManager = new CacheManager($this->getWorkingDirectory());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->configPath = $this->getWorkingDirectory() . '/test_config.json';
 }
 protected function setUp()
 {
     parent::setUp();
     $this->sizeHelper = $this->prophesize('ConsoleHelpers\\SVNBuddy\\Helper\\SizeHelper');
     $this->cacheManager = new CacheManager($this->getWorkingDirectory(), $this->sizeHelper->reveal());
 }