Examples of RequestPreprocessor


Examples of org.strecks.preprocess.RequestPreprocessor

{
  @Test
  public void testPopulateActionForm() throws Exception
  {
    ServletActionContext sac = getActionContext();
    RequestPreprocessor requestPreprocessor = newMock(RequestPreprocessor.class);
    Preprocess preprocess = getPreprocess(requestPreprocessor);
    HttpServletRequest request = newMock(HttpServletRequest.class);

    expect(sac.getRequest()).andReturn(request);
    requestPreprocessor.preprocessRequest(request);

    replayMocks();
    preprocess.execute(sac);
    verifyMocks();
 
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.