public void testValidEmployee() throws Exception { period = new Period(); period.setStartDate(start); period.setEndDate(end); info = new EmploymentInfo(); info.setId(ID); info.setG1(period); employee = new Employee(); employee.setIdAndStartDateAndEndDate(info); assertTrue("Valid employee reported invalid", xmlValidator.validateRoot(employee)); }