public function outputWritesGivenStringToTheConsoleOutput() { $this->mockConsoleOutput->expects($this->once())->method('output')->with('some text'); $this->commandController->_call('output', 'some text'); }