Esempio n. 1
0
 /** Test of update method, of class ClientHDao. */
 @Test
 public void testUpdate() {
   System.out.println("update");
   Audit c = dao.getAudit("1");
   c.setTypemodification("NAJAHI Soft");
   dao.update(c);
   assertEquals(c.getTypemodification(), "NAJAHI Soft");
 }
Esempio n. 2
0
 /** Test of getClient method, of class ClientHDao. */
 @Test
 public void testGetClient() {
   System.out.println("getAudit");
   Audit c = dao.getAudit("1");
   assertEquals(c.getTypeoperation(), "XX");
 }