coreContext.loadUserByUserName("superadmin");
coreContext.loadUserByUserNameOrAlias("superadmin");
    protected void setUp() throws Exception {        m_impl = new LoginContextImpl();        m_user = new User();        Group admin = new Group();        m_user.addGroup(admin);                m_user.setSettingModel(TestHelper.loadSettings("user-settings.xml"));        Permission.SUPERADMIN.setEnabled(admin, true);        MockControl control = MockControl.createNiceControl(CoreContext.class);        CoreContext coreContext = (CoreContext) control.getMock();        coreContext.loadUserByUserName("superadmin");        control.setReturnValue(m_user, 3);        coreContext.getAuthorizationRealm();        control.setReturnValue("pingtel.com", 3);        control.replay();        m_impl.setCoreContext(coreContext);    }