server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php
changeset 113 faff38055a07
parent 112 7a542145832c
child 114 8af5ed0521a2
equal deleted inserted replaced
112:7a542145832c 113:faff38055a07
   207 
   207 
   208         $isShownAts = $this->resGraphes['BASE']->all(CocoonSoundRdfMapperTest::TEST_GRAPH_URI, 'edm:isShownAt');
   208         $isShownAts = $this->resGraphes['BASE']->all(CocoonSoundRdfMapperTest::TEST_GRAPH_URI, 'edm:isShownAt');
   209 
   209 
   210         $this->assertCount(1, $isShownAts, "One edm:isShownAt");
   210         $this->assertCount(1, $isShownAts, "One edm:isShownAt");
   211         $this->assertInstanceOf("EasyRdf\Resource", $isShownAts[0]);
   211         $this->assertInstanceOf("EasyRdf\Resource", $isShownAts[0]);
   212         $this->assertEquals("http://cocoon.huma-num.fr/exist/crdo/meta/crdo-ESLO1_ENT_019", $isShownAts[0]);
   212         $this->assertEquals("http://corpusdelaparole.huma-num.fr/corpus-app#/detail/crdo-ESLO1_ENT_019", $isShownAts[0]);
   213 
   213 
   214         $isShownBys = $this->resGraphes['BASE']->all(CocoonSoundRdfMapperTest::TEST_GRAPH_URI, 'edm:isShownBy');
   214         $isShownBys = $this->resGraphes['BASE']->all(CocoonSoundRdfMapperTest::TEST_GRAPH_URI, 'edm:isShownBy');
   215 
   215 
   216         $this->assertCount(1, $isShownBys, "One edm:isShownBy");
   216         $this->assertCount(1, $isShownBys, "One edm:isShownBy");
   217         $this->assertInstanceOf("EasyRdf\Resource", $isShownBys[0]);
   217         $this->assertInstanceOf("EasyRdf\Resource", $isShownBys[0]);