Пример #1
0
        public void Stream_Method()
        {
            var widget = new FacebookLikeBoxWidget();

            Assert.Null(widget.Stream());
            Assert.True(ReferenceEquals(widget.Stream(true), widget));
            Assert.True(widget.Stream().Value);
        }
 public void Constructors()
 {
   var widget = new FacebookLikeBoxWidget();
   Assert.Null(widget.Border());
   Assert.Null(widget.ColorScheme());
   Assert.Null(widget.Faces());
   Assert.Null(widget.Header());
   Assert.Null(widget.Height());
   Assert.Null(widget.Stream());
   Assert.Null(widget.Url());
   Assert.Null(widget.Wall());
   Assert.Null(widget.Width());
 }
Пример #3
0
        public void Constructors()
        {
            var widget = new FacebookLikeBoxWidget();

            Assert.Null(widget.Border());
            Assert.Null(widget.ColorScheme());
            Assert.Null(widget.Faces());
            Assert.Null(widget.Header());
            Assert.Null(widget.Height());
            Assert.Null(widget.Stream());
            Assert.Null(widget.Url());
            Assert.Null(widget.Wall());
            Assert.Null(widget.Width());
        }
 public void Stream_Method()
 {
   var widget = new FacebookLikeBoxWidget();
   Assert.Null(widget.Stream());
   Assert.True(ReferenceEquals(widget.Stream(true), widget));
   Assert.True(widget.Stream().Value);
 }