SebastianBergmann\PHPLOC\AnalyserTest::testIssue126IsFixed PHP Метод

testIssue126IsFixed() публичный Метод

public testIssue126IsFixed ( $fileNumber, $cloc )
    public function testIssue126IsFixed($fileNumber, $cloc)
    {
        $file = __DIR__ . '/_files/issue_126/issue_126_' . $fileNumber . '.php';
        $result = $this->analyser->countFiles([$file], false);
        $assertString = sprintf('Failed asserting that %s matches expected %s in issue_126_%d.php', $result['cloc'], $cloc, $fileNumber);
        $this->assertEquals($cloc, $result['cloc'], $assertString);
    }