@Produces @ApplicationScoped
    public static IMetricsAccessor provideMetricsAccessor() {
        boolean enableEsMetrics = "true".equals(System.getProperty("apiman-test.es-metrics", "false"));
        if (enableEsMetrics) {
            return new EsMetricsAccessor(ManagerApiTestServer.ES_CLIENT);
        } else {
            return new TestMetricsAccessor();
        }
    }
@see io.apiman.manager.api.core.IApiCatalog#getNamespaces(java.lang.String)
manager/test/api/src/main/java/io/apiman/manager/test/server/TestCdiFactory.java