User user = core.loadUser(new Integer(1001));
User user = m_core.loadUser(new Integer(1001));
    public void testUserGroups() throws Exception {        TestHelper.cleanInsert("ClearDb.xml");        TestHelper.insertFlat("common/UserGroupSeed.xml");        User user = core.loadUser(new Integer(1001));        Set groups = user.getGroups();        assertEquals(1, groups.size());    }