public void Verb_Method()
 {
   var widget = new VkontakteLikeButtonWidget();
   Assert.Null(widget.Verb());
   Assert.True(ReferenceEquals(widget.Verb(1), widget));
   Assert.Equal(1, widget.Verb().Value);
 }
예제 #2
0
        public void Verb_Method()
        {
            var widget = new VkontakteLikeButtonWidget();

            Assert.Null(widget.Verb());
            Assert.True(ReferenceEquals(widget.Verb(1), widget));
            Assert.Equal(1, widget.Verb().Value);
        }
 public void Constructors()
 {
   var widget = new VkontakteLikeButtonWidget();
   Assert.Null(widget.ElementId());
   Assert.Null(widget.Text());
   Assert.Null(widget.Verb());
   Assert.Null(widget.Layout());
   Assert.Null(widget.Width());
   Assert.Null(widget.Height());
   Assert.Null(widget.Title());
   Assert.Null(widget.Url());
   Assert.Null(widget.Description());
   Assert.Null(widget.Image());
 }
예제 #4
0
        public void Constructors()
        {
            var widget = new VkontakteLikeButtonWidget();

            Assert.Null(widget.ElementId());
            Assert.Null(widget.Text());
            Assert.Null(widget.Verb());
            Assert.Null(widget.Layout());
            Assert.Null(widget.Width());
            Assert.Null(widget.Height());
            Assert.Null(widget.Title());
            Assert.Null(widget.Url());
            Assert.Null(widget.Description());
            Assert.Null(widget.Image());
        }