public void FileExistsShouldFindRootedFilePath() { //Given var dir = new ZipArchiveDirectory("Fresh.zip"); //when bool wasFound = dir.FileExists(FullPath("fresh/readMe.txt")); //then Assert.IsTrue(wasFound); }
public void FileExistsShouldNotFindDirectory() { //Given var dir = new ZipArchiveDirectory("Fresh.zip"); //when bool wasFound = dir.FileExists("fresh/bin"); //then Assert.IsFalse(wasFound); }