assertNotNull(bytes);
InputStream bais = new ByteArrayInputStream(bytes);
Unmarshaller unmarshaller = context.createUnmarshaller();
Object obj = unmarshaller.unmarshal(bais);
assertTrue(obj instanceof DepartmentListWrapper);
DepartmentListWrapper wrapper = (DepartmentListWrapper)obj;
List<Department> dptList = wrapper.getDepartmentList();
assertNotNull(dptList);
assertEquals(2, dptList.size());
// now get a specific Department that was created
client = new HttpClient();