*/
public void testNonExistentPropertyFile() {
try {
- BeanFactory factory = BeanKernel
+ BeanKernel
.lookupBeanFactory("org/wamblee/general/beankernel-nonexistent.properties");
} catch (BeanFactoryException e) {
return; // ok
*/
public void testNonExistentBeanFactory() {
try {
- BeanFactory factory = BeanKernel
+ BeanKernel
.lookupBeanFactory("org/wamblee/general/beankernel-wrong.properties");
} catch (BeanFactoryException e) {
return; // ok
public void testUnknownBeanFactory() {
try {
- SpringBeanFactory factory = new SpringBeanFactory(
+ new SpringBeanFactory(
"org/wamblee/general/beanRefContext.xml", "unknown");
} catch (BeanFactoryException e) {
return; // ok