IsAbsolutePath() public method

public IsAbsolutePath ( string path ) : bool
path string
return bool
 public void IsAbsolutePathShouldNotMatchOtherZipArchives()
 {
     //given
     var dir = new ZipArchiveDirectory("Fresh.zip");
     //when
     bool isAbsolute = dir.IsAbsolutePath("Fresher.zip/tada");
     //then
     Assert.IsFalse(isAbsolute);
 }
 public void IsAbsolutePathShouldNotMatchRelativePath()
 {
     //given
     var dir = new ZipArchiveDirectory("Fresh.zip");
     //when
     bool isAbsolute = dir.IsAbsolutePath("Fresh/bin");
     //then
     Assert.IsFalse(isAbsolute);
 }
 public void IsAbsolutePathShouldMatchNameOfZipArchive()
 {
     //given
     var dir = new ZipArchiveDirectory("Fresh.zip");
     //when
     bool isAbsolute = dir.IsAbsolutePath(FullPath(@"happy\sad/whatever"));
     //then
     Assert.IsTrue(isAbsolute);
 }