@Test
    public void testWithPlugins() {
        List<TraceMetadataProvider> typeProviders = Collections.singletonList(new TestProvider(TEST_TYPES, TEST_KEYS));
        TraceMetadataLoader traceMetadataLoader = new TraceMetadataLoader();
        traceMetadataLoader.load(typeProviders);

        AnnotationKeyLocator annotationKeyRegistry = traceMetadataLoader.createAnnotationKeyRegistry();

        StaticFieldLookUp<AnnotationKey> lookUp = new StaticFieldLookUp<>(AnnotationKey.class, AnnotationKey.class);
        verifyAnnotationKeys(lookUp.lookup(), annotationKeyRegistry);


        verifyAnnotationKeys(Arrays.asList(TEST_KEYS), annotationKeyRegistry);
    }
@author Jongho Moon <jongho.moon@navercorp.com>
commons-profiler/src/test/java/com/navercorp/pinpoint/common/profiler/trace/ServiceTypeInitializerTest.java