public void AskPayerPhone_Method()
        {
            var widget = new YandexMoneyDonateFormWidget();

            Assert.False(widget.AskPayerPhone());
            Assert.True(ReferenceEquals(widget.AskPayerPhone(true), widget));
            Assert.True(widget.AskPayerPhone());
        }
 public void Constructors()
 {
   var widget = new YandexMoneyDonateFormWidget();
   Assert.Null(widget.Account());
   Assert.Null(widget.DescriptionText());
   Assert.Null(widget.Sum());
   Assert.True(widget.Cards());
   Assert.Equal((byte)YandexMoneyDonateFormText.Donate, widget.Text());
   Assert.Null(widget.ProjectName());
   Assert.Null(widget.ProjectSite());
   Assert.False(widget.AskPayerComment());
   Assert.Null(widget.CommentHint());
   Assert.False(widget.AskPayerFullName());
   Assert.False(widget.AskPayerEmail());
   Assert.False(widget.AskPayerPhone());
   Assert.False(widget.Description());
 }
        public void Constructors()
        {
            var widget = new YandexMoneyDonateFormWidget();

            Assert.Null(widget.Account());
            Assert.Null(widget.DescriptionText());
            Assert.Null(widget.Sum());
            Assert.True(widget.Cards());
            Assert.Equal((byte)YandexMoneyDonateFormText.Donate, widget.Text());
            Assert.Null(widget.ProjectName());
            Assert.Null(widget.ProjectSite());
            Assert.False(widget.AskPayerComment());
            Assert.Null(widget.CommentHint());
            Assert.False(widget.AskPayerFullName());
            Assert.False(widget.AskPayerEmail());
            Assert.False(widget.AskPayerPhone());
            Assert.False(widget.Description());
        }
 public void AskPayerPhone_Method()
 {
   var widget = new YandexMoneyDonateFormWidget();
   Assert.False(widget.AskPayerPhone());
   Assert.True(ReferenceEquals(widget.AskPayerPhone(true), widget));
   Assert.True(widget.AskPayerPhone());
 }