public void Renders_Correct_Editable_CSS_Class() { //Arrange var htmlAttributes = new HtmlAttributes(); //Act NameValueCollection attributes = htmlAttributes.CssClass("Hello World").RenderEditable(); //Assert Assert.That(attributes["class"], Is.EqualTo("Hello World")); }
public void Renders_Correct_CSS_Class() { //Arrange var htmlAttributes = new HtmlAttributes(); //Act Dictionary<string, object> attributes = htmlAttributes.CssClass("Hello World").Render(); //Assert Assert.That(attributes["class"], Is.EqualTo("Hello World")); }