@Test
 public void testUpdate() throws Exception {
   Student student = studentDaoImpl.findById(2L);
   Boolean actual = !student.isActive();
   student.setActive(!student.isActive());
   // upload user to DB
   studentDaoImpl.update(student);
   // getting from DB
   IDataSet databaseDataSet = getConnection().createDataSet();
   ITable actualTable = databaseDataSet.getTable("STUDENT");
   Boolean real = (Boolean) actualTable.getValue(1, "isActive");
   Assert.assertEquals(real, actual);
 }