mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
added first cut of getBean(Class) lookup method
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ public abstract class AbstractBeanFactoryTests extends TestCase {
|
||||
|
||||
public void testGetBeanWithNullArg() {
|
||||
try {
|
||||
getBeanFactory().getBean(null);
|
||||
getBeanFactory().getBean((String) null);
|
||||
fail("Can't get null bean");
|
||||
}
|
||||
catch (IllegalArgumentException ex) {
|
||||
|
||||
Reference in New Issue
Block a user