private void setupJDisc(Collection<Chain<Processor>> chains) {
        driver = TestDriver.newSimpleApplicationInstanceWithoutOsgi();
        ContainerBuilder builder = driver.newContainerBuilder();

        ChainRegistry<Processor> registry = new ChainRegistry<>();
        for (Chain<Processor> chain : chains)
            registry.register(chain.getId(), chain);

        builder.clientBindings().bind("pio://endpoint/*", new MockUserDatabaseRequestHandler());
        driver.activateContainer(builder);
    }
Creates a request which has an underlying jdisc request, which is needed to make the outgoing request
container-core/src/test/java/com/yahoo/processing/processors/MockUserDatabaseClientTest.java