public void Id_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new PinterestPinWidget().Id(null));
      Assert.Throws<ArgumentException>(() => new PinterestPinWidget().Id(string.Empty));

      var widget = new PinterestPinWidget();
      Assert.Null(widget.Id());
      Assert.True(ReferenceEquals(widget.Id("id"), widget));
      Assert.Equal("id", widget.Id());
    }
        public void Id_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new PinterestPinWidget().Id(null));
            Assert.Throws <ArgumentException>(() => new PinterestPinWidget().Id(string.Empty));

            var widget = new PinterestPinWidget();

            Assert.Null(widget.Id());
            Assert.True(ReferenceEquals(widget.Id("id"), widget));
            Assert.Equal("id", widget.Id());
        }
        public void Constructors()
        {
            var widget = new PinterestPinWidget();

            Assert.Null(widget.Id());
        }
 public void Constructors()
 {
   var widget = new PinterestPinWidget();
   Assert.Null(widget.Id());
 }