public function setUp() { parent::setUp(); $container = new \Mockery\Container(); $app = $container->mock('\\Bluzman\\Application\\Application[getWorkingPath]')->shouldDeferMissing()->shouldAllowMockingProtectedMethods(); $app->shouldReceive('getWorkingPath')->atLeast(1)->andReturn($this->workingPath)->getMock(); $this->setApplication($app); $this->modelPath = $this->workingPath . DS . 'application' . DS . 'models' . DS . $this->name; }
protected function getDefaultFailureInput() { return array_merge(parent::getDefaultFailureInput(), ['--token' => 'testing-token', '--env' => 'test-failure', '--verbose' => 3]); }