protected function shouldWriteTitle($title, $return) { $this->getToolTitleOutputWriter()->shouldReceive('writeTitle')->once()->with($title)->andReturn($return); }