Esempio n. 1
0
 /**
  * @dataProvider usesClassDataProvider
  */
 public function testUsesClass($usage, $typedef, $expected)
 {
     $class = new PhpClass();
     $class->addUseStatement($usage);
     $this->assertEquals($class->uses($typedef), $expected);
 }