/** * Set up the mock to bootstrap the command tests */ protected function setUp() { $this->generator_mock = TestFactory::mockGenerator(); $this->process_mock = TestFactory::mockProcess(); $this->request = new Request($this->generator_mock); parent::setUp(); }
/** * Mocks that are needed for all of the command tests */ private function setupMocks() { $this->generator_mock = TestFactory::mockGenerator(); $this->input_mock = TestFactory::mockInputArray(); $this->output_mock = TestFactory::mockOutputConsole(); }