public void testEmployeePersistence() throws Exception {
long e1id = 0;
long e2id = 0;
// Employee #1: Create object and a clone used to verify persistence.
final Employee e1 = new Employee(E1_NAME, E1_FNAME, E1_BIRTH);
final Employee e1verify = new Employee(E1_NAME, E1_FNAME, E1_BIRTH);
// Employee #2: Create object and a clone used to verify persistence.
final Employee e2 = new Employee(E2_NAME, E2_FNAME, E2_BIRTH);
final Employee e2verify = new Employee(E2_NAME, E2_FNAME, E2_BIRTH);
/*
* Persist and retrieve both objects.
*/
e1id = employeeService.persist(e1).getId();