Exemple #1
0
        public void Exists_IsCaseInsensitive()
        {
            // Arrange
            FileSystemProfileStorage storage = new FileSystemProfileStorage(_fileSystem);

            // Act
            bool actual = storage.Exists("DEfault");

            // Assert
            Assert.IsTrue(actual);
        }
Exemple #2
0
        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);
        }