public void CssClass_Empty() { var tag = new CheckBoxListTag(DEFAULT_NAME, cssClass: ""); Assert.Equal(0, tag.Options.Count()); Assert.False(tag.HasClass(CheckBoxListTag.DEFAULT_CSS_CLASS)); }
public void CssClass_Default() { var tag = new CheckBoxListTag(DEFAULT_NAME); Assert.Equal(0, tag.Options.Count()); Assert.True(tag.HasClass(CheckBoxListTag.DEFAULT_CSS_CLASS)); }
public void CssClass() { var tag = new CheckBoxListTag(DEFAULT_NAME, cssClass: "class1"); Assert.Equal(0, tag.Options.Count()); Assert.True(tag.HasClass("class1")); }