public void ConstructorWithStringParameterWillExtractAllPropertiesFromTheStringAndAddThemIndividually(string properties)
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection(properties);

            // Act

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
            Assert.True(propertiesCollection.Contains("Movie.Title"));
        }
        public void ConstructorWithStringParameterIsSinglePropertyWillAddThatProperty()
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection("Movie.Id");

            // Act

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
        }
        public void AddWithSinglePropertyIgnoresWhiteSpace()
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection();

            // Act
            propertiesCollection.Add(" Movie.Id ");

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
        }
        public void AddWithSinglePropertyAddsThatProperty()
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection();

            // Act
            propertiesCollection.Add("Movie.Id");

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
        }
        public void ConstructorWithStringParameterIsSinglePropertyWillAddThatProperty()
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection("Movie.Id");

            // Act

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
        }
        public void ConstructorWithStringParameterWillExtractAllPropertiesFromTheStringAndAddThemIndividually(string properties)
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection(properties);

            // Act

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
            Assert.True(propertiesCollection.Contains("Movie.Title"));
        }
        public void AddWithSinglePropertyIgnoresWhiteSpace()
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection();

            // Act
            propertiesCollection.Add(" Movie.Id ");

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
        }
        public void AddWithSinglePropertyAddsThatProperty()
        {
            // Arrange
            var propertiesCollection = new PropertiesCollection();

            // Act
            propertiesCollection.Add("Movie.Id");

            // Assert
            Assert.True(propertiesCollection.Contains("Movie.Id"));
        }