Example #1
0
 public void CreateDocument()
 {
     var dal = new ImageMarkingDocumentsDALImpl(new InfraDAL(), _configuration);
     var result = dal.CreateDocuments("*****@*****.**", "https://www.w3schools.com/css/paris.jpg","paris","123456789");
     result = dal.GetDocuments("*****@*****.**");
     Assert.IsTrue(result.Tables[0].Rows.Count > 0);
 }
Example #2
0
 public void RemoveDocument()
 {
     var dal = new ImageMarkingDocumentsDALImpl(new InfraDAL(), _configuration);
     var result = dal.RemoveDocument("123456789");
     Assert.AreEqual(0, result.Tables[0].Rows.Count);
 }
Example #3
0
 public void GetDocumentsOkTest()
 {
     var dal = new ImageMarkingDocumentsDALImpl(new InfraDAL(), _configuration);
     var result = dal.GetDocuments("*****@*****.**");
     Assert.IsTrue(result.Tables[0].Rows.Count > 0);
 }