public void PayerComment_Method()
        {
            var widget = new YandexMoneyPaymentFormWidget();

            Assert.False(widget.AskPayerComment());
            Assert.True(ReferenceEquals(widget.AskPayerComment(true), widget));
            Assert.True(widget.AskPayerComment());
        }
 public void Constructors()
 {
   var widget = new YandexMoneyPaymentFormWidget();
   Assert.Null(widget.Account());
   Assert.Null(widget.Description());
   Assert.Null(widget.Sum());
   Assert.True(widget.Cards());
   Assert.Equal((byte) YandexMoneyPaymentFormText.Pay, widget.Text());
   Assert.False(widget.AskPayerPurpose());
   Assert.False(widget.AskPayerComment());
   Assert.False(widget.AskPayerFullName());
   Assert.False(widget.AskPayerEmail());
   Assert.False(widget.AskPayerPhone());
   Assert.False(widget.AskPayerAddress());
 }
        public void Constructors()
        {
            var widget = new YandexMoneyPaymentFormWidget();

            Assert.Null(widget.Account());
            Assert.Null(widget.Description());
            Assert.Null(widget.Sum());
            Assert.True(widget.Cards());
            Assert.Equal((byte)YandexMoneyPaymentFormText.Pay, widget.Text());
            Assert.False(widget.AskPayerPurpose());
            Assert.False(widget.AskPayerComment());
            Assert.False(widget.AskPayerFullName());
            Assert.False(widget.AskPayerEmail());
            Assert.False(widget.AskPayerPhone());
            Assert.False(widget.AskPayerAddress());
        }
 public void PayerComment_Method()
 {
   var widget = new YandexMoneyPaymentFormWidget();
   Assert.False(widget.AskPayerComment());
   Assert.True(ReferenceEquals(widget.AskPayerComment(true), widget));
   Assert.True(widget.AskPayerComment());
 }