Package org.nutz.mock.servlet

Examples of org.nutz.mock.servlet.MockServletContext


*/
public abstract class Mock {

  public static class servlet {
    public static MockServletContext context() {
      return new MockServletContext();
    }
View Full Code Here


  protected MockServletConfig servletConfig;

  @Before
  public void init() throws Throwable {
    servletContext = new MockServletContext();
    servletConfig = new MockServletConfig(servletContext, "nutz");
    initServletConfig();
    servlet = new NutServlet();
    servlet.init(servletConfig);
View Full Code Here

*/
public abstract class Mock {

    public static class servlet {
        public static MockServletContext context() {
            return new MockServletContext();
        }
View Full Code Here

TOP

Related Classes of org.nutz.mock.servlet.MockServletContext

Copyright © 2018 www.massapicom. 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.