expected.add(reader.getFullTimeEmployee("emp2"));
expected.add(reader.getPartTimeEmployee("emp3"));
// Import Department twice
query = pm.newQuery(Employee.class);
query.declareImports("import org.apache.jdo.tck.pc.company.Department; import org.apache.jdo.tck.pc.company.Department;");
query.declareParameters("Department d");
query.setFilter("department == d");
result = query.execute(dept1);
checkQueryResultWithoutOrder(ASSERTION_FAILED, "department == d",
result, expected);