plan.addFetchGroup("address.country");
PCCompany company1 =
(PCCompany) pm.find(PCCompany.class, _rootCompanyId);
PCCompany company = (PCCompany) pm.detachCopy(company1);
assertTrue("company is equal company1", company != company1);
Set departments = (Set) PCCompany.reflect(company, "departments");
assertNotNull("department is null", departments);
assertEquals("department size is not 2", 2, departments.size());
PCDepartment dept = (PCDepartment) departments.iterator().next();