コード例 #1
0
 /**
  * @dataProvider dataproviderAbsolutePath
  * @covers \Jackalope\ObjectManager::absolutePath
  * @covers \Jackalope\ObjectManager::normalizePath
  */
 public function testAbsolutePath($inputRoot, $inputRelPath, $output)
 {
     $factory = new Factory();
     $om = new ObjectManager($factory, $this->getTransportStub('/jcr:root'), $this->getSessionMock());
     $this->assertSame($output, $om->absolutePath($inputRoot, $inputRelPath));
 }