[Test] public void Render () { RangeValidatorTestClass p; TextBox t; p = new RangeValidatorTestClass(); StartValidationTest(p); p.Type = ValidationDataType.Integer; t = SetValidationTextBox("textbox", "3"); p.MinimumValue = "1"; p.MaximumValue = "2"; p.Validate(); p.ErrorMessage = "aw shucks"; p.Display = ValidatorDisplay.Static; p.Enabled = true; p.EnableViewState = true; Assert.AreEqual("aw shucks", p.Render(), "R1"); }