private Bootstrapper createBootstrapper(DeployTester tester,
                                            RpcServer rpcServer,
                                            VipStatusMode vipStatusMode,
                                            VersionState versionState) {
        StateMonitor stateMonitor = StateMonitor.createForTesting();
        ConfigserverConfig configserverConfig = tester.applicationRepository().configserverConfig();
        FileDirectory fileDirectory = new FileDirectory(configserverConfig);
        FileServer fileServer = new FileServer(configserverConfig, new InMemoryFlagSource(), fileDirectory);
        VipStatus vipStatus = createVipStatus(stateMonitor);
        return new Bootstrapper(tester.applicationRepository(),
                                rpcServer,
                                versionState,
                                stateMonitor,
                                vipStatus,
                                vipStatusMode,
                                fileDirectory,
                                fileServer);
    }
@author Ulf Lilleengen
@author Harald Musum
configserver/src/test/java/com/yahoo/vespa/config/server/ConfigServerBootstrapTest.java