RpcServer createRpcServer(ConfigserverConfig config) throws IOException {
        RpcServer rpcServer = new RpcServer(config,
                                            new SuperModelRequestHandler(new TestConfigDefinitionRepo(),
                                                          config,
                                                          new SuperModelManager(
                                                                  config,
                                                                  Zone.defaultZone(),
                                                                  new MemoryGenerationCounter())),
                                            Metrics.createTestMetrics(),
                                            hostRegistry,
                                            new FileServer(config, new InMemoryFlagSource(), new FileDirectory(temporaryFolder.newFolder())),
                                            new NoopRpcAuthorizer(),
                                            new RpcRequestHandlerProvider());
        rpcServer.setUpGetConfigHandlers();
        return rpcServer;
    }
Tester for running rpc server.

@author Ulf Lilleengen
configserver/src/test/java/com/yahoo/vespa/config/server/rpc/RpcTester.java