Polishing

This commit is contained in:
Juergen Hoeller
2019-09-04 12:19:08 +02:00
parent 3bc27e8d14
commit 48934cba1b
5 changed files with 17 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ public class LookupAnnotationTests {
@BeforeEach
public void setUp() {
public void setup() {
beanFactory = new DefaultListableBeanFactory();
AutowiredAnnotationBeanPostProcessor aabpp = new AutowiredAnnotationBeanPostProcessor();
aabpp.setBeanFactory(beanFactory);
@@ -122,6 +122,7 @@ public class LookupAnnotationTests {
@Lookup
public abstract TestBean getTwoArguments(String name, int age);
// no @Lookup annotation
public abstract TestBean getThreeArguments(String name, int age, int anotherArg);
}