public void TextColor_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuGroupsWidget().TextColor(null));
            Assert.Throws <ArgumentException>(() => new MailRuGroupsWidget().TextColor(string.Empty));

            var widget = new MailRuGroupsWidget();

            Assert.Null(widget.TextColor());
            Assert.True(ReferenceEquals(widget.TextColor("textColor"), widget));
            Assert.Equal("textColor", widget.TextColor());
        }
 public void Constructors()
 {
   var widget = new MailRuGroupsWidget();
   Assert.Null(widget.Account());
   Assert.Null(widget.BackgroundColor());
   Assert.Null(widget.ButtonColor());
   Assert.Null(widget.Domain());
   Assert.Null(widget.Height());
   Assert.True(widget.Subscribers());
   Assert.Null(widget.TextColor());
   Assert.Null(widget.Width());
 }
        public void Constructors()
        {
            var widget = new MailRuGroupsWidget();

            Assert.Null(widget.Account());
            Assert.Null(widget.BackgroundColor());
            Assert.Null(widget.ButtonColor());
            Assert.Null(widget.Domain());
            Assert.Null(widget.Height());
            Assert.True(widget.Subscribers());
            Assert.Null(widget.TextColor());
            Assert.Null(widget.Width());
        }
    public void TextColor_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuGroupsWidget().TextColor(null));
      Assert.Throws<ArgumentException>(() => new MailRuGroupsWidget().TextColor(string.Empty));

      var widget = new MailRuGroupsWidget();
      Assert.Null(widget.TextColor());
      Assert.True(ReferenceEquals(widget.TextColor("textColor"), widget));
      Assert.Equal("textColor", widget.TextColor());
    }