Exemplo n.º 1
0
 public void GetReports()
 {
     Sql sql = new Sql();
     DataTable dataTable = sql.GetReports();
     Assert.IsNotNull(dataTable);
     Assert.IsTrue(dataTable.Rows.Count > 1, "Rows count!");
 }
Exemplo n.º 2
0
 public void InsertReport()
 {
     Sql sql = new Sql();
     int rowsUpdated = sql.InsertReport(new Report(123));
     Assert.IsTrue(rowsUpdated > 0);
 }