@Override
  public boolean hasParam(String key) {
    return source.getParameterMap().containsKey(key);
  }
@Test
  public void has_param_from_source() {
    when(source.getParameterMap()).thenReturn(Map.of("param", new String[] {"value"}));
    ServletRequest request = new ServletRequest(new JavaxHttpRequest(source));
    assertThat(request.hasParam("param")).isTrue();
  }