function test_get_qualifier()
 {
     $qualifier = $this->manager->getQualifier(new HarmoniId("6796"));
     $this->assertIsA($qualifier, "Qualifier");
     $this->assertIdentical($qualifier->getDisplayName(), "sectionA");
     $this->assertIdentical($qualifier->getDescription(), "");
     $deftype = new DefaultQualifierType();
     $type = $qualifier->getQualifierType();
     $this->assertIdentical($type->getAuthority(), $deftype->getAuthority());
     $this->assertIdentical($type->getDomain(), $deftype->getDomain());
     $this->assertIdentical($type->getKeyword(), $deftype->getKeyword());
     $this->assertIdentical($type->getDescription(), $deftype->getDescription());
     $this->assertReference($qualifier, $this->manager->_cache->_qualifiers['6796']);
     // second time should come from cache
     $qualifier = $this->manager->getQualifier(new HarmoniId("6796"));
     $this->assertIsA($qualifier, "Qualifier");
 }
 function test_various_get_functions()
 {
     // getId()
     $id = $this->qualifier->getId();
     $this->assertReference($id, $this->node->getId());
     $this->assertIdentical($id, new HarmoniId("6800"));
     // getQualifierType()
     $type = $this->qualifier->getQualifierType();
     $this->assertReference($type, $this->node->getType());
     $deftype = new DefaultQualifierType();
     $this->assertIdentical($type->getAuthority(), $deftype->getAuthority());
     $this->assertIdentical($type->getDomain(), $deftype->getDomain());
     $this->assertIdentical($type->getKeyword(), $deftype->getKeyword());
     $this->assertIdentical($type->getDescription(), $deftype->getDescription());
     // getDisplayName()
     $displayName = $this->qualifier->getDisplayName();
     $this->assertIdentical($displayName, $this->node->getDisplayName());
     $this->assertIdentical($displayName, "pageC");
     // getDescription()
     $description = $this->qualifier->getDescription();
     $this->assertIdentical($description, $this->node->getDescription());
     $this->assertIdentical($description, "");
 }
 function test_get_qualifier()
 {
     $qualifier = $this->authorization->getQualifier();
     $this->assertIsA($qualifier, "Qualifier");
     $this->assertIdentical($qualifier->getDisplayName(), "sectionA");
     $this->assertIdentical($qualifier->getDescription(), "");
     $deftype = new DefaultQualifierType();
     $type = $qualifier->getQualifierType();
     $this->assertIdentical($type->getAuthority(), $deftype->getAuthority());
     $this->assertIdentical($type->getDomain(), $deftype->getDomain());
     $this->assertIdentical($type->getKeyword(), $deftype->getKeyword());
     $this->assertIdentical($type->getDescription(), $deftype->getDescription());
     //		$this->assertReference($qualifier, $this->authorization->_cache->_qualifiers['6796']);
 }