public void ToHtmlString_Method()
    {
      Assert.Equal(string.Empty, new DisqusCommentsWidget().ToString());

      var html = new DisqusCommentsWidget().Account("account").ToString();
      Assert.True(html.Contains(@"<div id=""disqus_thread""></div>"));
      Assert.True(html.Contains(@"var disqus_shortname = ""account"""));
    }
        public void ToHtmlString_Method()
        {
            Assert.Equal(string.Empty, new DisqusCommentsWidget().ToString());

            var html = new DisqusCommentsWidget().Account("account").ToString();

            Assert.True(html.Contains(@"<div id=""disqus_thread""></div>"));
            Assert.True(html.Contains(@"var disqus_shortname = ""account"""));
        }
    public void Account_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new DisqusCommentsWidget().Account(null));
      Assert.Throws<ArgumentException>(() => new DisqusCommentsWidget().Account(string.Empty));

      var widget = new DisqusCommentsWidget();
      Assert.Null(widget.Account());
      Assert.True(ReferenceEquals(widget.Account("account"), widget));
      Assert.Equal("account", widget.Account());
    }
        public void Account_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new DisqusCommentsWidget().Account(null));
            Assert.Throws <ArgumentException>(() => new DisqusCommentsWidget().Account(string.Empty));

            var widget = new DisqusCommentsWidget();

            Assert.Null(widget.Account());
            Assert.True(ReferenceEquals(widget.Account("account"), widget));
            Assert.Equal("account", widget.Account());
        }
 public void Constructors()
 {
   var widget = new DisqusCommentsWidget();
   Assert.Null(widget.Account());
 }
        public void Constructors()
        {
            var widget = new DisqusCommentsWidget();

            Assert.Null(widget.Account());
        }