assertEquals(1, provider.getValidationProblems().size());
}
@Test
public void testCustomAnnotationOptionalMethodResourceInjection() throws Exception {
BeansConfig config = new BeansConfig(beansProject, "src/org/springframework/beans/factory/annotation/testCustomAnnotationOptionalMethodResourceInjection-context.xml", IBeansConfig.Type.MANUAL);
Map<String, Integer[]> allowedRefs = new HashMap<String, Integer[]>();
allowedRefs.put("testBean", new Integer[] { 504 });
AutowireDependencyProvider provider = new AutowireDependencyProvider(config, config);