@Test
public void testAuditInfoCreated() {

  DUserMapper mapper = new DUserMapper(supplier);
  Object actual = supplier.createWriteValue(mapper, null, 1L, null);
  Date date = new Date();
  userDao.updateAuditInfo(actual, "first", date,
    "createdBy", "birthDate", null, null);
  assertEquals("first", supplier.getString(actual, "createdBy"));
  assertEquals(date, supplier.getDate(actual, "birthDate"));
  userDao.updateAuditInfo(actual, "second", new Date(0L),
    "createdBy", "birthDate", null, null);
  assertEquals("first", supplier.getString(actual, "createdBy"));
  assertEquals(date, supplier.getDate(actual, "birthDate"));
}