コード例 #1
0
 /**
  * testUnsetNamespaceResetsNamespaceNameProperty
  *
  * @return void
  * @since 0.10.2
  */
 public function testUnsetNamespaceResetsNamespaceNameProperty()
 {
     $class = new ASTClass(__CLASS__);
     $class->setNamespace(new ASTNamespace(__FUNCTION__));
     $class->unsetNamespace();
     $this->assertNull($class->getNamespaceName());
 }