public void NullClassesReturnsCorrectly() { string[] classes = null; HtmlAttributeBuilder builder = new HtmlAttributeBuilder(); var result = builder.RemoveClass( @classes ); Assert.AreSame( builder, result ); Assert.IsFalse( builder.Attributes.ContainsKey( HtmlAttributes.Class ) ); }