server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php
changeset 114 8af5ed0521a2
parent 113 faff38055a07
child 115 34ffc04cef62
equal deleted inserted replaced
113:faff38055a07 114:8af5ed0521a2
   153      *
   153      *
   154      * @return void
   154      * @return void
   155      */
   155      */
   156     public function testUri() {
   156     public function testUri() {
   157 
   157 
   158          echo $this->resGraphes['BASE']->serialise('turtle');
   158          //echo $this->resGraphes['BASE']->serialise('turtle');
   159          //echo var_export($this->resGraphes['BASE']->toRdfPhp());
   159          //echo var_export($this->resGraphes['BASE']->toRdfPhp());
   160 
   160 
   161          $this->assertNotNull($this->resGraphes['BASE']);
   161          $this->assertNotNull($this->resGraphes['BASE']);
   162          $this->assertEquals(CocoonSoundRdfMapperTest::TEST_GRAPH_URI, $this->resGraphes['BASE']->getUri(), "URIS must be translated");
   162          $this->assertEquals(CocoonSoundRdfMapperTest::TEST_GRAPH_URI, $this->resGraphes['BASE']->getUri(), "URIS must be translated");
   163      }
   163      }