@Test
public void testRequestHandledWithInvalidStatus(TestContext context){

    HttpServerResponse response = spy(new DummyHttpServerResponse());
    HttpServerRequest request = new HttpServerRequest("/gateleen/server/return-with-status-code/not_a_number", response);
    final boolean handled = responseHandler.handle(request);
    context.assertTrue(handled, "Request should have been handled");
    verify(response, times(1)).setStatusCode(eq(StatusCode.BAD_REQUEST.getStatusCode()));
    verify(response, times(1)).setStatusMessage(eq(StatusCode.BAD_REQUEST.getStatusMessage()));
    verify(response, times(1)).end(eq("400 Bad Request: missing, wrong or non-numeric status-code in request URL"));
}