assertEquals(4, map.getMethodMapSize());
assertEquals(5, map.getMethodMapSize());
    public void testMultiMethodParsingWhereLaterMethodsOverrideEarlierMethods()        throws Exception {        MethodDefinitionSourceEditor editor = new MethodDefinitionSourceEditor();        editor.setAsText(            "net.sf.acegisecurity.TargetObject.*=ROLE_GENERAL\r\nnet.sf.acegisecurity.TargetObject.makeLower*=ROLE_LOWER\r\nnet.sf.acegisecurity.TargetObject.make*=ROLE_MAKE\r\nnet.sf.acegisecurity.TargetObject.makeUpper*=ROLE_UPPER");        MethodDefinitionMap map = (MethodDefinitionMap) editor.getValue();        assertEquals(4, map.getMethodMapSize());        ConfigAttributeDefinition returnedMakeLower = map.getAttributes(new MockMethodInvocation(                    TargetObject.class, "makeLowerCase",                    new Class[] {String.class}));        ConfigAttributeDefinition expectedMakeLower = new ConfigAttributeDefinition();        expectedMakeLower.addConfigAttribute(new SecurityConfig("ROLE_LOWER"));        assertEquals(expectedMakeLower, returnedMakeLower);        ConfigAttributeDefinition returnedMakeUpper = map.getAttributes(new MockMethodInvocation(                    TargetObject.class, "makeUpperCase",                    new Class[] {String.class}));        ConfigAttributeDefinition expectedMakeUpper = new ConfigAttributeDefinition();        expectedMakeUpper.addConfigAttribute(new SecurityConfig("ROLE_UPPER"));        assertEquals(expectedMakeUpper, returnedMakeUpper);        ConfigAttributeDefinition returnedCountLength = map.getAttributes(new MockMethodInvocation(                    TargetObject.class, "countLength",                    new Class[] {String.class}));        ConfigAttributeDefinition expectedCountLength = new ConfigAttributeDefinition();        expectedCountLength.addConfigAttribute(new SecurityConfig(                "ROLE_GENERAL"));        assertEquals(expectedCountLength, returnedCountLength);    }