function it_should_not_generate_csv(Params $params, Reporter $reporter) { $params->getCsv()->willReturn(false); $reporter->csvOutput()->shouldNotBeCalled(); $this->generateCsv(); }