private static IEnumerable <string> BuildSideCssClasses(Sides sides, string suffix = null)
 {
     if (sides == Sides.All)
     {
         yield return(new CssClassBuilder(CSS_CLASS_PREFIX)
                      .Append(suffix, () => !string.IsNullOrWhiteSpace(suffix))
                      .Build());
     }
     else
     {
         foreach (var side in sides.ExtractSides())
         {
             yield return(new CssClassBuilder(CSS_CLASS_PREFIX)
                          .Append(() => side.GetCssClassPart())
                          .Append(suffix)
                          .Build());
         }
     }
 }
 public void ExtractSides(Sides sides, Sides[] extractedSides)
 {
     sides.ExtractSides().Should().BeEquivalentTo(extractedSides);
 }