public void TestOnInit() { _button.OnInit("a"); Assert.AreEqual(CreateResult("onInit", "a"), _button.ToHtmlString()); }