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