public void CounterPosition_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuLikeButtonWidget().CounterPosition(null));
            Assert.Throws <ArgumentNullException>(() => new MailRuLikeButtonWidget().CounterPosition(null));

            var widget = new MailRuLikeButtonWidget();

            Assert.Equal(MailRuLikeButtonCounterPosition.Right.ToString().ToLowerInvariant(), widget.CounterPosition());
            Assert.True(ReferenceEquals(widget.CounterPosition("counterPosition"), widget));
            Assert.Equal("counterPosition", widget.CounterPosition());
        }
 public void Constructors()
 {
   var widget = new MailRuLikeButtonWidget();
   Assert.Equal("combo", widget.Type());
   Assert.Equal("20", widget.Size());
   Assert.Equal((byte)MailRuLikeButtonLayout.First, widget.Layout());
   Assert.True(widget.Text());
   Assert.Equal((byte)MailRuLikeButtonTextType.First, widget.TextType());
   Assert.True(widget.Counter());
   Assert.Equal(MailRuLikeButtonCounterPosition.Right.ToString().ToLowerInvariant(), widget.CounterPosition());
 }
    public void CounterPosition_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuLikeButtonWidget().CounterPosition(null));
      Assert.Throws<ArgumentNullException>(() => new MailRuLikeButtonWidget().CounterPosition(null));

      var widget = new MailRuLikeButtonWidget();
      Assert.Equal(MailRuLikeButtonCounterPosition.Right.ToString().ToLowerInvariant(), widget.CounterPosition());
      Assert.True(ReferenceEquals(widget.CounterPosition("counterPosition"), widget));
      Assert.Equal("counterPosition", widget.CounterPosition());
    }
        public void Constructors()
        {
            var widget = new MailRuLikeButtonWidget();

            Assert.Equal("combo", widget.Type());
            Assert.Equal("20", widget.Size());
            Assert.Equal((byte)MailRuLikeButtonLayout.First, widget.Layout());
            Assert.True(widget.Text());
            Assert.Equal((byte)MailRuLikeButtonTextType.First, widget.TextType());
            Assert.True(widget.Counter());
            Assert.Equal(MailRuLikeButtonCounterPosition.Right.ToString().ToLowerInvariant(), widget.CounterPosition());
        }