public function testGetItemDataWithConfig()
 {
     $compilationId = "MySecondCompilationID";
     $this->directoryMock->expects($this->once())->method('getPath')->willReturn(dirname(__FILE__) . '/../sample/withoutConfig/');
     $this->storageMock->expects($this->once())->method('getDirectoryById')->with($compilationId)->willReturn($this->directoryMock);
     $itemData = $this->service->getItemData($compilationId);
     $arrayKeys = array("http://tao.localdomain:8888/tao.rdf#i142142605577127", "http://tao.localdomain:8888/tao.rdf#i142142605349615", "http://tao.localdomain:8888/tao.rdf#i142142605618879", "http://tao.localdomain:8888/tao.rdf#i1421426057643811");
     $this->assertInternalType('array', $itemData, __('Get item Data should return an array'));
     $this->assertEquals($arrayKeys, array_keys($itemData), __('Keys of return value are wrong'));
 }