Package org.beangle.web.filter

Examples of org.beangle.web.filter.MockFilter.destroy()


    assertFalse(filter.isDestroyed());

    request.setServletPath("/a/path/which/doesnt/match/any/filter.html");
    filterChainProxy.doFilter(request, response, new MockFilterChain());

    filter.destroy();
    assertTrue(filter.isInitialized());
    assertTrue(filter.isDoFiltered());
    assertTrue(filter.isDestroyed());
  }
}
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.