public void Constructors()
        {
            var widget = new LiveJournalRepostButtonWidget();

            Assert.Null(widget.Text());
            Assert.Null(widget.Title());
        }
    public void Title_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new LiveJournalRepostButtonWidget().Title(null));
      Assert.Throws<ArgumentException>(() => new LiveJournalRepostButtonWidget().Title(string.Empty));

      var widget = new LiveJournalRepostButtonWidget();
      Assert.Null(widget.Title());
      Assert.True(ReferenceEquals(widget.Title("title"), widget));
      Assert.Equal("title", widget.Title());
    }
        public void Title_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new LiveJournalRepostButtonWidget().Title(null));
            Assert.Throws <ArgumentException>(() => new LiveJournalRepostButtonWidget().Title(string.Empty));

            var widget = new LiveJournalRepostButtonWidget();

            Assert.Null(widget.Title());
            Assert.True(ReferenceEquals(widget.Title("title"), widget));
            Assert.Equal("title", widget.Title());
        }
 public void Constructors()
 {
   var widget = new LiveJournalRepostButtonWidget();
   Assert.Null(widget.Text());
   Assert.Null(widget.Title());
 }