si.setAfterInvocationManager(new MockAfterInvocationManager());
    public void testStartupCheckForAccessDecisionManager() {        MethodSecurityInterceptor si = new MethodSecurityInterceptor();        si.setRunAsManager(new MockRunAsManager());        si.setAuthenticationManager(new MockAuthenticationManager());        si.setObjectDefinitionSource(new MockMethodDefinitionSource(false, true));        try {            si.afterPropertiesSet();            fail("Should have thrown IllegalArgumentException");        } catch (IllegalArgumentException expected) {            assertEquals("An AccessDecisionManager is required",                expected.getMessage());        }    }