public void ShouldRenderOneCssClassWithTwoStyles()
        {
            var cssClass = new CssClass("Button")
                           .WithStyle(CssPropertyNames.Color, "green")
                           .WithStyle(CssPropertyNames.Margin, "20px");

            var cssClassBuilder = new CssClassBuilder(NullLogger <CssClassBuilder> .Instance);
            var expectedResult  = "\n .Button {\r\n\tcolor: green;\r\n\tmargin: 20px;\r\n}";

            var cssRepresentation = cssClassBuilder.BuildCssClassRepresentaion(cssClass);

            Assert.Equal(expectedResult, cssRepresentation);
        }
        public void ShouldRenderOneCssClassWithTwoStylesAndClassWithSelector()
        {
            var cssClass = new CssClass("Button")
                           .WithStyle(CssPropertyNames.Color, "green")
                           .WithStyle(CssPropertyNames.Margin, "20px")
                           .AddPseudoSelector(PseudoSelector.Hover, props =>
                                              props.WithStyle(CssPropertyNames.Color, "red").WithlStyleInPixelUnit(CssPropertyNames.Margin, 50));

            var cssClassBuilder = new CssClassBuilder(NullLogger <CssClassBuilder> .Instance);
            var expectedResult  = "\n .Button {\r\n\tcolor: green;\r\n\tmargin: 20px;\r\n}\n " +
                                  ".Button:hover {\r\n\tcolor: red;\r\n\tmargin: 50px;\r\n}\r\n";

            var cssRepresentation = cssClassBuilder.BuildCssClassRepresentaion(cssClass);

            Assert.Equal(expectedResult, cssRepresentation);
        }