public void Alignment_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new GooglePlusOneButtonWidget().Alignment(null));
      Assert.Throws<ArgumentException>(() => new GooglePlusOneButtonWidget().Alignment(string.Empty));

      var widget = new GooglePlusOneButtonWidget();
      Assert.Null(widget.Alignment());
      Assert.True(ReferenceEquals(widget.Alignment("alignment"), widget));
      Assert.Equal("alignment", widget.Alignment());
    }
        public void Alignment_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new GooglePlusOneButtonWidget().Alignment(null));
            Assert.Throws <ArgumentException>(() => new GooglePlusOneButtonWidget().Alignment(string.Empty));

            var widget = new GooglePlusOneButtonWidget();

            Assert.Null(widget.Alignment());
            Assert.True(ReferenceEquals(widget.Alignment("alignment"), widget));
            Assert.Equal("alignment", widget.Alignment());
        }
 public void Constructors()
 {
   var widget = new GooglePlusOneButtonWidget();
   Assert.Null(widget.Url());
   Assert.Null(widget.Width());
   Assert.Null(widget.Size());
   Assert.Null(widget.Alignment());
   Assert.Null(widget.Annotation());
   Assert.Null(widget.Callback());
   Assert.Null(widget.Recommendations());
 }
        public void Constructors()
        {
            var widget = new GooglePlusOneButtonWidget();

            Assert.Null(widget.Url());
            Assert.Null(widget.Width());
            Assert.Null(widget.Size());
            Assert.Null(widget.Alignment());
            Assert.Null(widget.Annotation());
            Assert.Null(widget.Callback());
            Assert.Null(widget.Recommendations());
        }