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

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

            var widget = new VkontaktePostWidget();

            Assert.Null(widget.Id());
            Assert.True(ReferenceEquals(widget.Id("id"), widget));
            Assert.Equal("id", widget.Id());
        }
 public void Constructors()
 {
   var widget = new VkontaktePostWidget();
   Assert.Null(widget.ElementId());
   Assert.Null(widget.Hash());
   Assert.Null(widget.Id());
   Assert.Null(widget.Owner());
   Assert.Null(widget.Width());
 }
        public void Constructors()
        {
            var widget = new VkontaktePostWidget();

            Assert.Null(widget.ElementId());
            Assert.Null(widget.Hash());
            Assert.Null(widget.Id());
            Assert.Null(widget.Owner());
            Assert.Null(widget.Width());
        }