public void GetPathRoot_SendInPath_ReturnsRoot() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.GetPathRoot(TestPath); //Assert Assert.AreEqual(XFS.Path("C:\\"), result); }
public void GetPathRoot_SendInPath_ReturnsRoot() { //Arrange MockPath mockPath = new MockPath(new MockFileSystem()); //Act string result = mockPath.GetPathRoot(s_testPath); //Assert Assert.Equal(XFS.Path("C:\\"), result); }
public void GetPathRoot_SendInPath_ReturnsRoot() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.GetPathRoot(TestPath); //Assert Assert.AreEqual("C:\\", result); }