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

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

            var widget = new VkontaktePostWidget();

            Assert.Null(widget.Owner());
            Assert.True(ReferenceEquals(widget.Owner("owner"), widget));
            Assert.Equal("owner", widget.Owner());
        }
 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());
        }