public void Height_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new SurfingbirdSurfButtonWidget().Height(null));
      Assert.Throws<ArgumentException>(() => new SurfingbirdSurfButtonWidget().Height(string.Empty));

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

            var widget = new SurfingbirdSurfButtonWidget();

            Assert.Null(widget.Height());
            Assert.True(ReferenceEquals(widget.Height("height"), widget));
            Assert.Equal("height", widget.Height());
        }
 public void Constructors()
 {
   var widget = new SurfingbirdSurfButtonWidget();
   Assert.Null(widget.Url());
   Assert.Equal(SurfingbirdSurfButtonLayout.Common.ToString().ToLowerInvariant(), widget.Layout());
   Assert.Null(widget.Width());
   Assert.Null(widget.Height());
   Assert.False(widget.Counter());
   Assert.Equal("Surf", widget.Label());
   Assert.Null(widget.Color());
 }
        public void Constructors()
        {
            var widget = new SurfingbirdSurfButtonWidget();

            Assert.Null(widget.Url());
            Assert.Equal(SurfingbirdSurfButtonLayout.Common.ToString().ToLowerInvariant(), widget.Layout());
            Assert.Null(widget.Width());
            Assert.Null(widget.Height());
            Assert.False(widget.Counter());
            Assert.Equal("Surf", widget.Label());
            Assert.Null(widget.Color());
        }