コード例 #1
0
 public function testFileGetLineNumbersWorks()
 {
     $this->markTestIncomplete('Line numbering not implemented yet');
     $fileToReflect = __DIR__ . '/TestAsset/TestSampleClass.php';
     include_once $fileToReflect;
     $reflectionFile = new FileReflection($fileToReflect);
     $this->assertEquals(9, $reflectionFile->getStartLine());
     $this->assertEquals(24, $reflectionFile->getEndLine());
 }