public void testRepCompany() throws Exception {
createTestData("testRepCompany");
List companies = context.performQuery(new SelectQuery(ClientCompany.class));
assertEquals(1, companies.size());
ClientCompany company = (ClientCompany) companies.get(0);
List reps = company.getRepresentatives();
assertEquals(1, reps.size());
assertSame(CustomerRepresentative.class, reps.get(0).getClass());
}