/** * @test */ public function outputLineAppendsGivenStringAndNewlineToTheResponseContent() { $this->mockConsoleOutput->expects($this->once())->method('write')->with('some text' . PHP_EOL); $this->commandController->_call('outputLine', 'some text'); }