public void testStartupCheckForMethodDefinitionSource() {
public void testStartupCheckForMethodDefinitionSource() throws Exception {
    public void testStartupCheckForMethodDefinitionSource() {        MethodSecurityInterceptor si = new MethodSecurityInterceptor();        si.setAccessDecisionManager(new MockAccessDecisionManager());        si.setAuthenticationManager(new MockAuthenticationManager());        try {            si.afterPropertiesSet();            fail("Should have thrown IllegalArgumentException");        } catch (IllegalArgumentException expected) {            assertEquals("An ObjectDefinitionSource is required",                expected.getMessage());        }    }