public void FindSignatureLineTest() { var con = TestUtil.CreatePenneoConnector(); TestUtil.TestFindLinked(con, () => CreateDocument().FindSignatureLine(con, 0)); }
public void GetPdfTest() { var con = TestUtil.CreatePenneoConnector(); TestUtil.TestGetFileAsset(con, () => CreateDocument().GetPdf(con)); }
public void GetSignatureLinesTest() { var con = TestUtil.CreatePenneoConnector(); TestUtil.TestGetLinked(con, () => CreateDocument().GetSignatureLines(con)); }
public void GetTest() { TestUtil.TestGet <Document>(); }
public void DeleteTest() { var con = TestUtil.CreatePenneoConnector(); TestUtil.TestDelete(con, CreateDocument); }
public void PersistFailTest() { var con = TestUtil.CreatePenneoConnector(); TestUtil.TestPersistFail(con, CreateDocument); }
public void PerPageNotLessThanZeroTest() { Assert.That(() => TestUtil.CreateTestApiConnector().PrepareRequest(string.Empty, page: 5, perPage: -5), Throws.TypeOf<NotSupportedException>()); }