/**
  * _testFile
  *
  * @dataProvider testProvider
  *
  * @param string $file
  * @param string $standard
  * @param boolean $expectPass
  */
 public function testFile($file, $standard, $expectPass)
 {
     $outputStr = $this->helper->runPhpCs($file, $standard);
     if ($expectPass) {
         $this->assertNotRegExp("/FOUND \\d+ ERROR/", $outputStr, basename($file) . ' - expected to pass with no errors, some were reported. ');
     } else {
         $this->assertRegExp("/FOUND \\d+ ERROR/", $outputStr, basename($file) . ' - expected failures, none reported. ');
     }
 }