public void FillStyleAttributes_UrlResolver() { PokerWebControl c = new PokerWebControl(); c.BackColor = Color.AliceBlue; c.RenderControl(new HtmlTextWriter(new StringWriter())); Assert.AreEqual(c, ((PokerStyle)c.ControlStyle).UrlResolver); }
public void FillStyleAttributes_UrlResolver () { PokerWebControl c = new PokerWebControl (); c.BackColor = Color.AliceBlue; c.RenderControl (new HtmlTextWriter (new StringWriter ())); Assert.AreEqual (c, ((PokerStyle) c.ControlStyle).UrlResolver); }