HttpServletRequest request = new MockHttpServletRequest();
((MockHttpServletRequest) request).addHeader("router","login");
((MockHttpServletRequest) request).addParameter("test","wwww");
Mock
HttpServletRequest request;
@Before
public void init(){
Mockito.when(request.getParameter("version")).thenReturn("1.24.0");
Process next = processSinked.next("login", request);
}