2324252627282930313233
@PersistenceContext private EntityManager em; @Test public void testUserData() throws Exception { Group group = em.find(Group.class, "admin"); assertNotNull(group); group = em.find(Group.class, "user"); assertNotNull(group);