public void IsPathRooted_PathSentIn_DeterminesPathExists() { //Arrange MockPath mockPath = new MockPath(new MockFileSystem()); //Act bool result = mockPath.IsPathRooted(s_testPath); //Assert Assert.Equal(true, result); }
public void IsPathRooted_PathSentIn_DeterminesPathExists() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.IsPathRooted(TestPath); //Assert Assert.AreEqual(true, result); }
public void IsPathFullyQualified_WithRelativePathParts_ReturnsFalse() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.IsPathRooted(XFS.Path("directory\\..\\file.txt")); //Assert Assert.IsFalse(result); }
public void IsPathRooted_PathSentIn_DeterminesPathExists() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.IsPathRooted(TestPath); //Assert Assert.AreEqual(true, result); }