Add test for binding to Map by generic signature

See #67
This commit is contained in:
Dave Syer
2019-11-19 10:57:34 +00:00
parent 4277d3e0f5
commit f759e6e4ab
2 changed files with 66 additions and 2 deletions

View File

@@ -325,6 +325,7 @@ public class SuperClassTests {
}
private void baseTestSpringFactoryBean(Class<?> configClass) {
@SuppressWarnings("resource")
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(
configClass);
@@ -495,8 +496,8 @@ public class SuperClassTests {
}
public static class Bar {}
public static class Bar {
}
@Component
public static class BarFactory implements FactoryBean<Bar> {