public void Width_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().Width(null));
            Assert.Throws <ArgumentException>(() => new FacebookActivityFeedWidget().Width(string.Empty));

            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.Width());
            Assert.True(ReferenceEquals(widget.Width("width"), widget));
            Assert.Equal("width", widget.Width());
        }
 public void Constructors()
 {
   var widget = new FacebookActivityFeedWidget();
   Assert.False(widget.Actions().Any());
   Assert.Null(widget.AppId());
   Assert.Null(widget.ColorScheme());
   Assert.Null(widget.Domain());
   Assert.Null(widget.Header());
   Assert.Null(widget.Height());
   Assert.Null(widget.LinkTarget());
   Assert.Null(widget.MaxAge());
   Assert.Null(widget.Recommendations());
   Assert.Null(widget.TrackLabel());
   Assert.Null(widget.Width());
 }
        public void Constructors()
        {
            var widget = new FacebookActivityFeedWidget();

            Assert.False(widget.Actions().Any());
            Assert.Null(widget.AppId());
            Assert.Null(widget.ColorScheme());
            Assert.Null(widget.Domain());
            Assert.Null(widget.Header());
            Assert.Null(widget.Height());
            Assert.Null(widget.LinkTarget());
            Assert.Null(widget.MaxAge());
            Assert.Null(widget.Recommendations());
            Assert.Null(widget.TrackLabel());
            Assert.Null(widget.Width());
        }
    public void Width_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().Width(null));
      Assert.Throws<ArgumentException>(() => new FacebookActivityFeedWidget().Width(string.Empty));

      var widget = new FacebookActivityFeedWidget();
      Assert.Null(widget.Width());
      Assert.True(ReferenceEquals(widget.Width("width"), widget));
      Assert.Equal("width", widget.Width());
    }