Пример #1
0
 /**
  *
  */
 public function testGetClassesFromFile()
 {
     $analyzer = new Analyzer();
     $result = $analyzer->getClassReflections(__DIR__ . '/resources/tokenizerClasses.php');
     $this->assertCount(2, $result);
     $this->assertSame('Foo\\class2', $result['Foo\\class2']->getName());
     $this->assertSame('Foo\\class3', $result['Foo\\class3']->getName());
 }