public void TestDialogSize() { _button.DialogSize(100, 200); var result = new Str(); result.Add(GetBaseOptions()); result.Add("width:100,height:200"); Assert.AreEqual(CreateResult(result.ToString()), _button.ToHtmlString()); }