protected function shouldProcessJsonLint($file, $returnError) { $this->getJsonLintProcessor()->shouldReceive('process')->once()->with($file)->andReturn($returnError); }