public void It_should_parse_font(string font, string expectedFamily, float expectedSize, FontInfoStyle expectedStyle) { var f = FontInfo.Parse(font); f.ShouldNotBeNull(); f.Family.ShouldBe(expectedFamily); f.Size.ShouldBe(expectedSize); f.Style.ShouldBe(expectedStyle); }