server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php
changeset 114 8af5ed0521a2
parent 112 7a542145832c
child 115 34ffc04cef62
equal deleted inserted replaced
113:faff38055a07 114:8af5ed0521a2
    92      *
    92      *
    93      * @return void
    93      * @return void
    94      */
    94      */
    95     public function testUri() {
    95     public function testUri() {
    96 
    96 
    97         echo $this->resGraphes['BASE']->serialise('turtle');
    97         //echo $this->resGraphes['BASE']->serialise('turtle');
    98         //echo var_export($this->resGraphes['BASE']->toRdfPhp());
    98         //echo var_export($this->resGraphes['BASE']->toRdfPhp());
    99 
    99 
   100         $this->assertNotNull($this->resGraphes['BASE']);
   100         $this->assertNotNull($this->resGraphes['BASE']);
   101         $this->assertEquals(CocoonTextRdfMapperTest::TEST_GRAPH_URI, $this->resGraphes['BASE']->getUri(), "URIS must be translated");
   101         $this->assertEquals(CocoonTextRdfMapperTest::TEST_GRAPH_URI, $this->resGraphes['BASE']->getUri(), "URIS must be translated");
   102     }
   102     }