public void GivenNoConfiguration_ReturnInvalidAttribute()
        {
            // Arrange
            var contentItem = new JObject();
            var service     = new GridSettingsAttributesService();

            // Act
            var styleAttribute = service.GetStyleAttribute(contentItem);

            // Assert
            Assert.IsFalse(styleAttribute.IsValid());
        }
        public void GivenValidConfiguration_ReturnValidAttribute()
        {
            // Arrange
            var contentItem = JObject.Parse(validJson);
            var service     = new GridSettingsAttributesService();

            // Act
            var styleAttribute = service.GetStyleAttribute(contentItem);

            // Assert
            Assert.AreEqual("background-position:right top; background-repeat:no-repeat;", styleAttribute.Value);
        }