+
+ try {
+ factory.find("unknown");
+ } catch (BeanFactoryException e) {
+ return; // ok
+ }
+ fail();
+ }
+
+ public void testUnknownBeanFactory() {
+ try {
+ new SpringBeanFactory(
+ "org/wamblee/general/beanRefContext.xml", "unknown");
+ } catch (BeanFactoryException e) {
+ return; // ok
+ }
+ fail();