protected void setHttpContext(Map<String, String[]> requestBody) {
RequestHeader reqHeader = mock(RequestHeader.class);
Request req = mock(Request.class);
if (requestBody != null) {
RequestBody reqBody = mock(RequestBody.class);
when(req.body()).thenReturn(reqBody);
when(reqBody.asFormUrlEncoded()).thenReturn(requestBody);
}
Map<String, String> session = new HashMap<String, String>();
Map<String, String> flash = new HashMap<String, String>();
Map<String, Object> args = new HashMap<String, Object>();