public void ConnectionStringParser_WithValidConnectionString_GetsTokens(string connectionString,
                                                                                int expectedLength)
        {
            // Arrange
            var tokeniser = new ConnectionStringTokeniser();

            // Act
            var tokens = tokeniser
                         .Tokenise(connectionString)
                         .ToList();

            // Assert
            Assert.AreEqual(expectedLength, tokens.Count);
        }
        public void ConnectionStringParser_WithValidConnectionString_GetsTokensWithRightValues(string connectionString, string
                                                                                               expectedPropertyName, string expectedPropertyValue)
        {
            // Arrange
            var connectionStringParser = new ConnectionStringTokeniser();

            // Act
            var tokens = connectionStringParser
                         .Tokenise(connectionString)
                         .ToList();

            // Assert
            Assert.AreEqual(1, tokens.Count);

            var item = tokens.First();

            Assert.AreEqual(expectedPropertyName, item.PropertyName);
            Assert.AreEqual(expectedPropertyValue, item.PropertyValue);
        }