assertTrue(c.length==1);
assertEquals(Long.class, c[0]);
}
public void testGetPkType() throws Exception {
HibernateQuerySetHelper dao = new HibernateQuerySetHelper(injector.getInstance(HibernateUtil.class), CompositeKeyTestBean.class, null);
Class[] c = dao.getPkClass();
assertNotNull(c);
assertTrue("length is " + c.length, c.length==2);
assertEquals(String.class, c[0]);
assertEquals(Long.class, c[1]);
}