public void CheckBox_Checked() { var helper = new HtmlTagHelper(); var name = "name1"; var tag = helper.CheckBox(name, isChecked: true); AssertValid(tag, "input", name, "checkbox"); Assert.True(tag.Checked()); }
public void CheckBox_Checked() { var helper = new HtmlTagHelper(); var name = "name1"; var tag = helper.CheckBox(name, isChecked: true); AssertValid(tag, "input", name, "checkbox"); Assert.True(tag.Checked()); }