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_3() {
        Options options = () -> RandomUuidGenerator.class;
        UuidGeneratorServiceLoader loader = new UuidGeneratorServiceLoader(
            UuidGeneratorServiceLoaderTest.class::getClassLoader,
            options);
        assertThat(loader.loadUuidGenerator(), instanceOf(RandomUuidGenerator.class));
    }