Esempio n. 1
0
        public void Mini_Method()
        {
            var widget = new VkontakteCommentsWidget();

            Assert.Null(widget.Mini());
            Assert.True(ReferenceEquals(widget.Mini(true), widget));
            Assert.True(widget.Mini().Value);
        }
 public void Constructors()
 {
   var widget = new VkontakteCommentsWidget();
   Assert.False(widget.Attach().Any());
   Assert.Null(widget.AutoPublish());
   Assert.Null(widget.AutoUpdate());
   Assert.Null(widget.ElementId());
   Assert.Equal((byte)VkontakteCommentsLimit.Limit5, widget.Limit());
   Assert.Null(widget.Mini());
   Assert.Null(widget.Width());
 }
Esempio n. 3
0
        public void Constructors()
        {
            var widget = new VkontakteCommentsWidget();

            Assert.False(widget.Attach().Any());
            Assert.Null(widget.AutoPublish());
            Assert.Null(widget.AutoUpdate());
            Assert.Null(widget.ElementId());
            Assert.Equal((byte)VkontakteCommentsLimit.Limit5, widget.Limit());
            Assert.Null(widget.Mini());
            Assert.Null(widget.Width());
        }
 public void Mini_Method()
 {
   var widget = new VkontakteCommentsWidget();
   Assert.Null(widget.Mini());
   Assert.True(ReferenceEquals(widget.Mini(true), widget));
   Assert.True(widget.Mini().Value);
 }