예제 #1
0
        public void FindSignatureLineTest()
        {
            var con = TestUtil.CreatePenneoConnector();

            TestUtil.TestFindLinked(con, () => CreateDocument().FindSignatureLine(con, 0));
        }
예제 #2
0
        public void GetPdfTest()
        {
            var con = TestUtil.CreatePenneoConnector();

            TestUtil.TestGetFileAsset(con, () => CreateDocument().GetPdf(con));
        }
예제 #3
0
        public void GetSignatureLinesTest()
        {
            var con = TestUtil.CreatePenneoConnector();

            TestUtil.TestGetLinked(con, () => CreateDocument().GetSignatureLines(con));
        }
예제 #4
0
 public void GetTest()
 {
     TestUtil.TestGet <Document>();
 }
예제 #5
0
        public void DeleteTest()
        {
            var con = TestUtil.CreatePenneoConnector();

            TestUtil.TestDelete(con, CreateDocument);
        }
예제 #6
0
        public void PersistFailTest()
        {
            var con = TestUtil.CreatePenneoConnector();

            TestUtil.TestPersistFail(con, CreateDocument);
        }
예제 #7
0
 public void PerPageNotLessThanZeroTest()
 {
   Assert.That(() => TestUtil.CreateTestApiConnector().PrepareRequest(string.Empty, page: 5, perPage: -5),
         Throws.TypeOf<NotSupportedException>());
 }