Esempio n. 1
0
        public void BuildsFieldWithSpecifiedValues()
        {
            NotaryHostThankYouOptions notaryHostThankYouOptions = NotaryHostThankYouOptionsBuilder.NewNotaryHostThankYouOptions()
                                                                  .WithoutTitle()
                                                                  .WithoutBody()
                                                                  .WithoutRecipientName()
                                                                  .WithoutRecipientEmail()
                                                                  .WithoutRecipientRole()
                                                                  .WithoutNotaryTag()
                                                                  .WithoutRecipientStatus()
                                                                  .WithoutDownloadButton()
                                                                  .WithoutReviewDocumentsButton()
                                                                  .Build();

            Assert.IsFalse(notaryHostThankYouOptions.Title);
            Assert.IsFalse(notaryHostThankYouOptions.Body);
            Assert.IsFalse(notaryHostThankYouOptions.RecipientName);
            Assert.IsFalse(notaryHostThankYouOptions.RecipientEmail);
            Assert.IsFalse(notaryHostThankYouOptions.RecipientRole);
            Assert.IsFalse(notaryHostThankYouOptions.NotaryTag);
            Assert.IsFalse(notaryHostThankYouOptions.RecipientStatus);
            Assert.IsFalse(notaryHostThankYouOptions.DownloadButton);
            Assert.IsFalse(notaryHostThankYouOptions.ReviewDocumentsButton);
        }
Esempio n. 2
0
        public void BuildsFieldWithDefaultValues()
        {
            NotaryHostThankYouOptions notaryHostThankYouOptions = NotaryHostThankYouOptionsBuilder.NewNotaryHostThankYouOptions()
                                                                  .WithTitle()
                                                                  .WithBody()
                                                                  .WithRecipientName()
                                                                  .WithRecipientEmail()
                                                                  .WithRecipientRole()
                                                                  .WithNotaryTag()
                                                                  .WithRecipientStatus()
                                                                  .WithDownloadButton()
                                                                  .WithReviewDocumentsButton()
                                                                  .Build();

            Assert.IsTrue(notaryHostThankYouOptions.Title);
            Assert.IsTrue(notaryHostThankYouOptions.Body);
            Assert.IsTrue(notaryHostThankYouOptions.RecipientName);
            Assert.IsTrue(notaryHostThankYouOptions.RecipientEmail);
            Assert.IsTrue(notaryHostThankYouOptions.RecipientRole);
            Assert.IsTrue(notaryHostThankYouOptions.NotaryTag);
            Assert.IsTrue(notaryHostThankYouOptions.RecipientStatus);
            Assert.IsTrue(notaryHostThankYouOptions.DownloadButton);
            Assert.IsTrue(notaryHostThankYouOptions.ReviewDocumentsButton);
        }
Esempio n. 3
0
        public void BuildsFieldWithDefaultValues()
        {
            SigningUiOptions signingUiOptions = SigningUiOptionsBuilder.NewSigningUiOptions()
                                                .WithCompleteSummaryOptions(CompleteSummaryOptionsBuilder.NewCompleteSummaryOptions()
                                                                            .WithFrom()
                                                                            .WithTitle()
                                                                            .WithMessage()
                                                                            .WithDownload()
                                                                            .WithReview()
                                                                            .WithContinue()
                                                                            .Build())
                                                .WithInpersonHostThankYouOptions(InpersonHostThankYouOptionsBuilder.NewInpersonHostThankYouOptions()
                                                                                 .WithTitle()
                                                                                 .WithBody()
                                                                                 .WithRecipientName()
                                                                                 .WithRecipientEmail()
                                                                                 .WithRecipientRole()
                                                                                 .WithRecipientStatus()
                                                                                 .WithDownloadButton()
                                                                                 .WithReviewDocumentsButton()
                                                                                 .Build())
                                                .WithInpersonWelcomeOptions(InpersonWelcomeOptionsBuilder.NewInpersonWelcomeOptions()
                                                                            .WithTitle()
                                                                            .WithBody()
                                                                            .WithRecipientName()
                                                                            .WithRecipientEmail()
                                                                            .WithRecipientActionRequired()
                                                                            .WithRecipientRole()
                                                                            .WithRecipientStatus()
                                                                            .Build())
                                                .WithNotaryHostThankYouOptions(NotaryHostThankYouOptionsBuilder.NewNotaryHostThankYouOptions()
                                                                               .WithTitle()
                                                                               .WithBody()
                                                                               .WithRecipientName()
                                                                               .WithRecipientEmail()
                                                                               .WithRecipientRole()
                                                                               .WithNotaryTag()
                                                                               .WithRecipientStatus()
                                                                               .WithDownloadButton()
                                                                               .WithReviewDocumentsButton()
                                                                               .Build())
                                                .WithNotaryWelcomeOptions(NotaryWelcomeOptionsBuilder.NewNotaryWelcomeOptions()
                                                                          .WithTitle()
                                                                          .WithBody()
                                                                          .WithRecipientName()
                                                                          .WithRecipientEmail()
                                                                          .WithRecipientActionRequired()
                                                                          .WithNotaryTag()
                                                                          .WithRecipientRole()
                                                                          .WithRecipientStatus()
                                                                          .Build())
                                                .WithOverviewOptions(OverviewOptionsBuilder.NewOverviewOptions()
                                                                     .WithTitle()
                                                                     .WithBody()
                                                                     .WithDocumentSection()
                                                                     .WithUploadSection()
                                                                     .Build())
                                                .Build();

            Assert.IsTrue(signingUiOptions.CompleteSummaryOptions.From);
            Assert.IsTrue(signingUiOptions.CompleteSummaryOptions.Title);
            Assert.IsTrue(signingUiOptions.CompleteSummaryOptions.Message);
            Assert.IsTrue(signingUiOptions.CompleteSummaryOptions.Download);
            Assert.IsTrue(signingUiOptions.CompleteSummaryOptions.Review);
            Assert.IsTrue(signingUiOptions.CompleteSummaryOptions.Continue);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.Title);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.Body);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.RecipientName);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.RecipientEmail);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.RecipientRole);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.RecipientStatus);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.DownloadButton);
            Assert.IsTrue(signingUiOptions.InpersonHostThankYouOptions.ReviewDocumentsButton);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.Title);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.Body);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.RecipientName);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.RecipientEmail);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.RecipientActionRequired);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.RecipientRole);
            Assert.IsTrue(signingUiOptions.InpersonWelcomeOptions.RecipientStatus);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.Title);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.Body);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.RecipientName);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.RecipientEmail);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.RecipientRole);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.NotaryTag);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.RecipientStatus);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.DownloadButton);
            Assert.IsTrue(signingUiOptions.NotaryHostThankYouOptions.ReviewDocumentsButton);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.Title);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.Body);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.RecipientName);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.RecipientEmail);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.RecipientActionRequired);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.NotaryTag);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.RecipientRole);
            Assert.IsTrue(signingUiOptions.NotaryWelcomeOptions.RecipientStatus);
            Assert.IsTrue(signingUiOptions.OverviewOptions.Title);
            Assert.IsTrue(signingUiOptions.OverviewOptions.Body);
            Assert.IsTrue(signingUiOptions.OverviewOptions.DocumentSection);
            Assert.IsTrue(signingUiOptions.OverviewOptions.UploadSection);
        }