added first cut of getBean(Class) lookup method

This commit is contained in:
Juergen Hoeller
2009-10-20 19:52:30 +00:00
parent a83756f771
commit cf580f024a
7 changed files with 42 additions and 55 deletions

View File

@@ -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) {