public void KidsMode_Method()
        {
            var widget = new FacebookSendButtonWidget();

            Assert.Null(widget.KidsMode());
            Assert.True(ReferenceEquals(widget.KidsMode(true), widget));
            Assert.True(widget.KidsMode().Value);
        }
    public void ColorScheme_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookSendButtonWidget().ColorScheme(null));
      Assert.Throws<ArgumentException>(() => new FacebookSendButtonWidget().ColorScheme(string.Empty));

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

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

      var widget = new FacebookSendButtonWidget();
      Assert.Null(widget.Width());
      Assert.True(ReferenceEquals(widget.Width("width"), widget));
      Assert.Equal("width", widget.Width());
    }
 public void Constructors()
 {
   var widget = new FacebookSendButtonWidget();
   Assert.Null(widget.Url());
   Assert.Null(widget.Width());
   Assert.Null(widget.Height());
   Assert.Null(widget.ColorScheme());
   Assert.Null(widget.KidsMode());
   Assert.Null(widget.TrackLabel());
 }
        public void ColorScheme_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookSendButtonWidget().ColorScheme(null));
            Assert.Throws <ArgumentException>(() => new FacebookSendButtonWidget().ColorScheme(string.Empty));

            var widget = new FacebookSendButtonWidget();

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

            var widget = new FacebookSendButtonWidget();

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

            var widget = new FacebookSendButtonWidget();

            Assert.Null(widget.Width());
            Assert.True(ReferenceEquals(widget.Width("width"), widget));
            Assert.Equal("width", widget.Width());
        }
        public void Constructors()
        {
            var widget = new FacebookSendButtonWidget();

            Assert.Null(widget.Url());
            Assert.Null(widget.Width());
            Assert.Null(widget.Height());
            Assert.Null(widget.ColorScheme());
            Assert.Null(widget.KidsMode());
            Assert.Null(widget.TrackLabel());
        }
        public void TrackLabel_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookSendButtonWidget().TrackLabel(null));
            Assert.Throws <ArgumentException>(() => new FacebookSendButtonWidget().TrackLabel(string.Empty));

            var widget = new FacebookSendButtonWidget();

            Assert.Null(widget.TrackLabel());
            Assert.True(ReferenceEquals(widget.TrackLabel("trackLabel"), widget));
            Assert.Equal("trackLabel", widget.TrackLabel());
        }
 public void KidsMode_Method()
 {
   var widget = new FacebookSendButtonWidget();
   Assert.Null(widget.KidsMode());
   Assert.True(ReferenceEquals(widget.KidsMode(true), widget));
   Assert.True(widget.KidsMode().Value);
 }
    public void TrackLabel_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookSendButtonWidget().TrackLabel(null));
      Assert.Throws<ArgumentException>(() => new FacebookSendButtonWidget().TrackLabel(string.Empty));

      var widget = new FacebookSendButtonWidget();
      Assert.Null(widget.TrackLabel());
      Assert.True(ReferenceEquals(widget.TrackLabel("trackLabel"), widget));
      Assert.Equal("trackLabel", widget.TrackLabel());
    }