Пример #1
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testTermShouldNotBeNull()
 {
     $term = KVDthes_TestTerm::newNull();
     $transformer = new KVDthes_Serialiser_Rdf_ThesaurusSerialiser();
     $transformer->addUriGenerator($this->gen);
     $res = $transformer->transform($term);
 }
Пример #2
0
 public function testIsNull()
 {
     $this->assertFalse($this->object->isNull());
     $niets = KVDthes_TestTerm::newNull();
     $this->assertTrue($niets->isNull());
 }