public void GetDirectoryPathWithNullName() { // Setup var fileSystem = new PathTree <string>(); var directory = new PathDirectory <string>(fileSystem, @"x:\mydirectory"); // Execute directory.DirectoryPath(a_name: null); }
public void GetDirectoryPathForNotExistingChild() { // Setup var fileSystem = new PathTree <string>(); var directory = new PathDirectory <string>(fileSystem, @"x:\mydirectory"); // Execute var result = directory.DirectoryPath("Directory4"); // Assert Assert.AreEqual(@"x:\mydirectory\Directory4", result); }
public void GetDirectoryPathWithNullName() { // Setup var fileSystem = new PathTree<string>(); var directory = new PathDirectory<string>(fileSystem, @"x:\mydirectory"); // Execute directory.DirectoryPath(a_name: null); }
public void GetDirectoryPathForNotExistingChild() { // Setup var fileSystem = new PathTree<string>(); var directory = new PathDirectory<string>(fileSystem, @"x:\mydirectory"); // Execute var result = directory.DirectoryPath("Directory4"); // Assert Assert.AreEqual(@"x:\mydirectory\Directory4", result); }