UuidGenerator loadUuidGenerator() {
        Class<? extends UuidGenerator> objectFactoryClass = options.getUuidGeneratorClass();
        ClassLoader classLoader = classLoaderSupplier.get();
        ServiceLoader<UuidGenerator> loader = ServiceLoader.load(UuidGenerator.class, classLoader);
        if (objectFactoryClass == null) {
            return loadSingleUuidGeneratorOrDefault(loader);
        }

        return loadSelectedUuidGenerator(loader, objectFactoryClass);
    }
@Test
    void test_case_12() {
        Options options = () -> null;
        UuidGeneratorServiceLoader loader = new UuidGeneratorServiceLoader(
            () -> new ServiceLoaderTestClassLoader(UuidGenerator.class,
                IncrementingUuidGenerator.class,
                OtherGenerator.class),
            options);

        assertThat(loader.loadUuidGenerator(), instanceOf(OtherGenerator.class));
    }