public void Exists_IsCaseInsensitive() { // Arrange FileSystemProfileStorage storage = new FileSystemProfileStorage(_fileSystem); // Act bool actual = storage.Exists("DEfault"); // Assert Assert.IsTrue(actual); }
public void Exists_ReturnsTrue_OnlyWhenACSVWithTheSameNameExistsInTheFileSystem(string profileName, bool expected) { // Arrange FileSystemProfileStorage storage = new FileSystemProfileStorage(_fileSystem); // Act bool actual = storage.Exists(profileName); // Assert Assert.AreEqual(expected, actual); }