public void Subscribers_Method()
        {
            var widget = new MailRuGroupsWidget();

            Assert.True(widget.Subscribers());
            Assert.True(ReferenceEquals(widget.Subscribers(false), widget));
            Assert.False(widget.Subscribers());
        }
    public void Domain_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuGroupsWidget().Domain(null));
      Assert.Throws<ArgumentException>(() => new MailRuGroupsWidget().Domain(string.Empty));

      var widget = new MailRuGroupsWidget();
      Assert.Null(widget.Domain());
      Assert.True(ReferenceEquals(widget.Domain("domain"), widget));
      Assert.Equal("domain", widget.Domain());
    }
    public void ButtonColor_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuGroupsWidget().ButtonColor(null));
      Assert.Throws<ArgumentException>(() => new MailRuGroupsWidget().ButtonColor(string.Empty));

      var widget = new MailRuGroupsWidget();
      Assert.Null(widget.ButtonColor());
      Assert.True(ReferenceEquals(widget.ButtonColor("buttonColor"), widget));
      Assert.Equal("buttonColor", widget.ButtonColor());
    }
    public void Account_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuGroupsWidget().Account(null));
      Assert.Throws<ArgumentException>(() => new MailRuGroupsWidget().Account(string.Empty));

      var widget = new MailRuGroupsWidget();
      Assert.Null(widget.Account());
      Assert.True(ReferenceEquals(widget.Account("account"), widget));
      Assert.Equal("account", widget.Account());
    }
        public void Height_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuGroupsWidget().Height(null));
            Assert.Throws <ArgumentException>(() => new MailRuGroupsWidget().Height(string.Empty));

            var widget = new MailRuGroupsWidget();

            Assert.Null(widget.Height());
            Assert.True(ReferenceEquals(widget.Height("height"), widget));
            Assert.Equal("height", widget.Height());
        }
        public void Domain_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuGroupsWidget().Domain(null));
            Assert.Throws <ArgumentException>(() => new MailRuGroupsWidget().Domain(string.Empty));

            var widget = new MailRuGroupsWidget();

            Assert.Null(widget.Domain());
            Assert.True(ReferenceEquals(widget.Domain("domain"), widget));
            Assert.Equal("domain", widget.Domain());
        }
        public void ButtonColor_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuGroupsWidget().ButtonColor(null));
            Assert.Throws <ArgumentException>(() => new MailRuGroupsWidget().ButtonColor(string.Empty));

            var widget = new MailRuGroupsWidget();

            Assert.Null(widget.ButtonColor());
            Assert.True(ReferenceEquals(widget.ButtonColor("buttonColor"), widget));
            Assert.Equal("buttonColor", widget.ButtonColor());
        }
        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());
    }
 public void Subscribers_Method()
 {
   var widget = new MailRuGroupsWidget();
   Assert.True(widget.Subscribers());
   Assert.True(ReferenceEquals(widget.Subscribers(false), widget));
   Assert.False(widget.Subscribers());
 }