public static ThreadedHttpRequestHandler.Context createHandlerTestContext() {
        return new ThreadedHttpRequestHandler.Context(Executors.newSingleThreadExecutor(), new MockMetric());
    }
Test driver for {@link RestApi}

@author bjorncs
container-core/src/main/java/com/yahoo/restapi/RestApiTestDriver.java