ruleManager = mock(RuleManager.class);
context.putBean("ruleManager", ruleManager);
}
protected void mockAuthentication() throws UserNotFoundException, UserExistsException {
context.putBean("authenticationContext", new ShiroContext());
authConnector = new UsernamePasswordServiceImpl();
authConnector.setUserManager(userManager);
context.putBean("authenticator", authConnector);
WicketAclServiceImpl wicketAclServiceImpl = new WicketAclServiceImpl();