コード例 #1
0
        public void Suggestions_Method()
        {
            var widget = new TwitterFollowButtonWidget();

            Assert.Null(widget.Suggestions());
            Assert.True(ReferenceEquals(widget.Suggestions(true), widget));
            Assert.True(widget.Suggestions().Value);
        }
 public void Constructors()
 {
   var widget = new TwitterFollowButtonWidget();
   Assert.Null(widget.Account());
   Assert.Null(widget.Language());
   Assert.Null(widget.Size());
   Assert.Null(widget.Alignment());
   Assert.Null(widget.Counter());
   Assert.Null(widget.ScreenName());
   Assert.Null(widget.Suggestions());
   Assert.Null(widget.Width());
 }
コード例 #3
0
        public void Constructors()
        {
            var widget = new TwitterFollowButtonWidget();

            Assert.Null(widget.Account());
            Assert.Null(widget.Language());
            Assert.Null(widget.Size());
            Assert.Null(widget.Alignment());
            Assert.Null(widget.Counter());
            Assert.Null(widget.ScreenName());
            Assert.Null(widget.Suggestions());
            Assert.Null(widget.Width());
        }
 public void Suggestions_Method()
 {
   var widget = new TwitterFollowButtonWidget();
   Assert.Null(widget.Suggestions());
   Assert.True(ReferenceEquals(widget.Suggestions(true), widget));
   Assert.True(widget.Suggestions().Value);
 }