added first cut of getBean(Class) lookup method

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2164 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2009-10-20 19:52:30 +00:00
parent e1e66c3982
commit 0a9a69b6c9
7 changed files with 42 additions and 55 deletions
@@ -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) {