Exemplo n.º 1
0
        public void VerifyResult()
        {
            GetSigningStatusExample example = new GetSigningStatusExample();

            example.Run();

            Assert.AreEqual(example.draftSigningStatus, SigningStatus.INACTIVE);
            Assert.AreEqual(example.sentSigningStatus, SigningStatus.SIGNING_PENDING);
            Assert.AreEqual(example.trashedSigningStatus, SigningStatus.DELETED);
        }
        public void VerifyResult()
        {
            GetSigningStatusExample example = new GetSigningStatusExample(Props.GetInstance());

            example.Run();

            String signerEmail = Props.GetInstance().Get("1.email");

            DocumentPackage documentPackage = example.EslClient.GetPackage(example.PackageId);
            Signer          signer          = documentPackage.Signers[signerEmail];


            Assert.AreEqual(signer.Status, CURRENT_SIGNER_STATUS);
        }