public function testFindRelativePath() { $config = new ResourceManager(new \Pimple(['rootpath' => TEST_ROOT, 'pathmanager' => new PlatformFileSystemPathFactory()])); $rel = $config->findRelativePath(TEST_ROOT, TEST_ROOT . '/A/B'); $this->assertEquals('A/B/', $rel); }