Ejemplo n.º 1
0
 public function testWithGClassConstruction()
 {
     $gClass = new GClass('MyAbstractClass');
     $gClass->setNameSpace(__NAMESPACE__);
     $otherGClass = new GClass($gClass);
     $this->assertTrue($gClass->equals($otherGClass));
     // don't rely on that $otherGClas === $gClass and don't rely on that $otherGClass !== $gClass
 }