public void Width_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IMailRuFacesWidgetExtensions.Width(null, 0));

            new MailRuFacesWidget().Do(widget =>
            {
                Assert.True(ReferenceEquals(widget.Width(1), widget));
                Assert.Equal("1", widget.Width());
            });
        }
        public void Font_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IMailRuFacesWidgetExtensions.Font(null, MailRuFacesFont.Arial));

            new MailRuFacesWidget().Do(widget =>
            {
                Assert.True(ReferenceEquals(widget.Font(MailRuFacesFont.Tahoma), widget));
                Assert.Equal("Tahoma", widget.Font());
            });
        }