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

            var widget = new MailRuGroupsWidget();

            Assert.Null(widget.Width());
            Assert.True(ReferenceEquals(widget.Width("width"), widget));
            Assert.Equal("width", 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 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 Width_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuGroupsWidget().Width(null));
      Assert.Throws<ArgumentException>(() => new MailRuGroupsWidget().Width(string.Empty));

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