Example #1
0
 /**
  * @covers Model::getVocabularyByGraph
  * @depends testConstructorWithConfig
  * @expectedException \Exception
  * @expectedExceptionMessage no vocabulary found for graph http://no/address and endpoint http://localhost:3030/ds/sparql
  */
 public function testGetVocabularyByInvalidGraphUri()
 {
     $model = new Model(new GlobalConfig('/../tests/testconfig.inc'));
     $vocab = $model->getVocabularyByGraph('http://no/address');
     $this->assertInstanceOf('Vocabulary', $vocab);
 }