Package jfun.yan.web

Examples of jfun.yan.web.YanLoaderServlet.destroy()


    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());
  }
  public void testYanLoaderListenerWithDefaultContext() throws Exception {

    MockServletContext sc = new MyServletContext("test/yan/web");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.