protected function shouldProcessPhpLintTool($file, $error) { $this->getPhpLintToolProcessor()->shouldReceive('process')->once()->with($file)->andReturn($error); }