private static Injector guiceInjector() {
        return Guice.createInjector(new AbstractModule() {
            @Override
            protected void configure() {
                // Needed by e.g. SearchHandler
                bind(Linguistics.class).to(SimpleLinguistics.class).in(Scopes.SINGLETON);
                bind(Embedder.class).to(Embedder.FailingEmbedder.class).in(Scopes.SINGLETON);
                bind(ai.vespa.cloud.ZoneInfo.class).to(MockZoneInfo.class);
                bind(ContainerThreadPool.class).to(SimpleContainerThreadpool.class);
                bind(Metric.class).to(MockMetric.class);
            }
        });
    }
Class for testing HandlersConfigurer.
Not for public use.

If possible, please avoid using this class and HandlersConfigurer in your tests

@author Tony Vaagenes
@author gjoranv
container-search/src/test/java/com/yahoo/container/core/config/testutil/HandlersConfigurerTestWrapper.java