public void testContextLoaderServletWithDefaultContext() throws Exception {
MockServletContext sc = new MyServletContext(".");
sc.setInitParameter(YanLoader.CONFIG_FILE_PARAM,
"tests/jfun/yan/web/yan.xml");
HttpServlet servlet = new YanLoaderServlet();
MockServletConfig config = new MockServletConfig();
config.setServletContext(sc);
servlet.init(config);
final BankAccount acct = verifyBean(sc, "account");
servlet.destroy();
assertTrue("Destroyed", acct.isDestroyed());
}