/** * @expectedException InvalidArgumentException */ public function testTermShouldNotBeNull() { $term = KVDthes_TestTerm::newNull(); $transformer = new KVDthes_Serialiser_Rdf_ThesaurusSerialiser(); $transformer->addUriGenerator($this->gen); $res = $transformer->transform($term); }
public function testIsNull() { $this->assertFalse($this->object->isNull()); $niets = KVDthes_TestTerm::newNull(); $this->assertTrue($niets->isNull()); }