public function testGetRelativePathFrom($path, $directorySeparator, $fromPath, $fromDirectorySeparator, $relativePath) { $this->if($path = new testedClass($path, $directorySeparator))->then->object($path->getRelativePathFrom(new testedClass($fromPath, $fromDirectorySeparator)))->isNotIdenticalTo($path)->toString->isEqualTo($relativePath); }