public void TestOnClose() { _button.OnClose("a"); Assert.AreEqual(CreateResult("closeCallback", "a"), _button.ToHtmlString()); }