added first cut of getBean(Class) lookup method
This commit is contained in:
@@ -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