use of com.navercorp.pinpoint.common.service.TraceMetadataLoaderService in project pinpoint by naver.
the class AnnotationKeyTest method getCode.
@Test
public void getCode() {
TraceMetadataLoaderService typeLoaderService = new DefaultTraceMetadataLoaderService();
AnnotationKeyRegistryService annotationKeyRegistryService = new DefaultAnnotationKeyRegistryService(typeLoaderService, StdoutCommonLoggerFactory.INSTANCE);
AnnotationKey annotationKey = annotationKeyRegistryService.findAnnotationKey(AnnotationKey.API.getCode());
Assert.assertEquals(annotationKey, AnnotationKey.API);
}
Aggregations