public void Recommendations_Method()
        {
            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.Recommendations());
            Assert.True(ReferenceEquals(widget.Recommendations(true), widget));
            Assert.True(widget.Recommendations().Value);
        }
        public void MaxAge_Method()
        {
            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.MaxAge());
            Assert.True(ReferenceEquals(widget.MaxAge(1), widget));
            Assert.Equal(1, widget.MaxAge().Value);
        }
        public void Header_Method()
        {
            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.Header());
            Assert.True(ReferenceEquals(widget.Header(true), widget));
            Assert.True(widget.Header().Value);
        }
    public void Actions_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().Actions(null));

      var widget = new FacebookActivityFeedWidget();
      Assert.False(widget.Actions().Any());
      Assert.True(ReferenceEquals(widget.Actions(new[] { "first", "second" }), widget));
      Assert.True(widget.Actions().SequenceEqual(new[] { "first", "second" }));
    }
    public void ColorScheme_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().ColorScheme(null));
      Assert.Throws<ArgumentException>(() => new FacebookActivityFeedWidget().ColorScheme(string.Empty));

      var widget = new FacebookActivityFeedWidget();
      Assert.Null(widget.ColorScheme());
      Assert.True(ReferenceEquals(widget.ColorScheme("colorScheme"), widget));
      Assert.Equal("colorScheme", widget.ColorScheme());
    }
    public void AppId_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().AppId(null));
      Assert.Throws<ArgumentException>(() => new FacebookActivityFeedWidget().AppId(string.Empty));

      var widget = new FacebookActivityFeedWidget();
      Assert.Null(widget.AppId());
      Assert.True(ReferenceEquals(widget.AppId("appId"), widget));
      Assert.Equal("appId", widget.AppId());
    }
        public void Actions_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().Actions(null));

            var widget = new FacebookActivityFeedWidget();

            Assert.False(widget.Actions().Any());
            Assert.True(ReferenceEquals(widget.Actions(new[] { "first", "second" }), widget));
            Assert.True(widget.Actions().SequenceEqual(new[] { "first", "second" }));
        }
        public void Domain_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().Domain(null));
            Assert.Throws <ArgumentException>(() => new FacebookActivityFeedWidget().Domain(string.Empty));

            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.Domain());
            Assert.True(ReferenceEquals(widget.Domain("domain"), widget));
            Assert.Equal("domain", widget.Domain());
        }
        public void LinkTarget_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().LinkTarget(null));
            Assert.Throws <ArgumentException>(() => new FacebookActivityFeedWidget().LinkTarget(string.Empty));

            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.LinkTarget());
            Assert.True(ReferenceEquals(widget.LinkTarget("linkTarget"), widget));
            Assert.Equal("linkTarget", widget.LinkTarget());
        }
        public void ColorScheme_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().ColorScheme(null));
            Assert.Throws <ArgumentException>(() => new FacebookActivityFeedWidget().ColorScheme(string.Empty));

            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.ColorScheme());
            Assert.True(ReferenceEquals(widget.ColorScheme("colorScheme"), widget));
            Assert.Equal("colorScheme", widget.ColorScheme());
        }
        public void AppId_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().AppId(null));
            Assert.Throws <ArgumentException>(() => new FacebookActivityFeedWidget().AppId(string.Empty));

            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.AppId());
            Assert.True(ReferenceEquals(widget.AppId("appId"), widget));
            Assert.Equal("appId", widget.AppId());
        }
        public void TrackLabel_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new FacebookActivityFeedWidget().TrackLabel(null));
            Assert.Throws <ArgumentException>(() => new FacebookActivityFeedWidget().TrackLabel(string.Empty));

            var widget = new FacebookActivityFeedWidget();

            Assert.Null(widget.TrackLabel());
            Assert.True(ReferenceEquals(widget.TrackLabel("trackLabel"), widget));
            Assert.Equal("trackLabel", widget.TrackLabel());
        }
 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 TrackLabel_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().TrackLabel(null));
      Assert.Throws<ArgumentException>(() => new FacebookActivityFeedWidget().TrackLabel(string.Empty));

      var widget = new FacebookActivityFeedWidget();
      Assert.Null(widget.TrackLabel());
      Assert.True(ReferenceEquals(widget.TrackLabel("trackLabel"), widget));
      Assert.Equal("trackLabel", widget.TrackLabel());
    }
 public void Recommendations_Method()
 {
   var widget = new FacebookActivityFeedWidget();
   Assert.Null(widget.Recommendations());
   Assert.True(ReferenceEquals(widget.Recommendations(true), widget));
   Assert.True(widget.Recommendations().Value);
 }
 public void MaxAge_Method()
 {
   var widget = new FacebookActivityFeedWidget();
   Assert.Null(widget.MaxAge());
   Assert.True(ReferenceEquals(widget.MaxAge(1), widget));
   Assert.Equal(1, widget.MaxAge().Value);
 }
    public void Domain_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().Domain(null));
      Assert.Throws<ArgumentException>(() => new FacebookActivityFeedWidget().Domain(string.Empty));

      var widget = new FacebookActivityFeedWidget();
      Assert.Null(widget.Domain());
      Assert.True(ReferenceEquals(widget.Domain("domain"), widget));
      Assert.Equal("domain", widget.Domain());
    }
 public void Header_Method()
 {
   var widget = new FacebookActivityFeedWidget();
   Assert.Null(widget.Header());
   Assert.True(ReferenceEquals(widget.Header(true), widget));
   Assert.True(widget.Header().Value);
 }
    public void LinkTarget_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new FacebookActivityFeedWidget().LinkTarget(null));
      Assert.Throws<ArgumentException>(() => new FacebookActivityFeedWidget().LinkTarget(string.Empty));

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