@Test
    public void testDuplicatedWithDefault() {
        Assertions.assertThrows(RuntimeException.class, () -> {
            List<TraceMetadataProvider> providers = Collections.singletonList(
                    new TestProvider(DUPLICATED_CODE_WITH_DEFAULT_TYPE, TEST_KEYS)
            );

            TraceMetadataLoader traceMetadataLoader = new TraceMetadataLoader();
            traceMetadataLoader.load(providers);
            ServiceTypeLocator unused = traceMetadataLoader.createServiceTypeRegistry();
        });
    }
@author Jongho Moon <jongho.moon@navercorp.com>
commons-profiler/src/test/java/com/navercorp/pinpoint/common/profiler/trace/ServiceTypeInitializerTest.java