public void Combine_SentFivePaths_Combines() { //Arrange MockPath mockPath = new MockPath(new MockFileSystem()); //Act string result = mockPath.Combine(XFS.Path("C:\\test"), "subdir1", "subdir2", "subdir3", "test.bmp"); //Assert Assert.Equal(XFS.Path("C:\\test\\subdir1\\subdir2\\subdir3\\test.bmp"), result); }
public void Combine_SentFourPaths_Combines() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.Combine(XFS.Path("C:\\test"), "subdir1", "subdir2", "test.bmp"); //Assert Assert.AreEqual(XFS.Path("C:\\test\\subdir1\\subdir2\\test.bmp"), result); }
public void Combine_SentFivePaths_Combines() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.Combine(XFS.Path("C:\\test"), "subdir1", "subdir2", "subdir3", "test.bmp"); //Assert Assert.AreEqual(XFS.Path("C:\\test\\subdir1\\subdir2\\subdir3\\test.bmp"), result); }
public void Combine_SentTwoPaths_Combines() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.Combine("C:\\test", "test.bmp"); //Assert Assert.AreEqual("C:\\test\\test.bmp", result); }
public void Combine_SentTwoPaths_Combines() { //Arrange var mockPath = new MockPath(new MockFileSystem()); //Act var result = mockPath.Combine(XFS.Path("C:\\test"), "test.bmp"); //Assert Assert.Equal(XFS.Path("C:\\test\\test.bmp"), result); }