public static ShenyuInstanceRegisterRepository newInstance(final String registerType) {
        return REPOSITORY_MAP.computeIfAbsent(registerType, ExtensionLoader.getExtensionLoader(ShenyuInstanceRegisterRepository.class)::getJoin);
    }
@Test
    public void testNewInstance() {
        assertNotNull(ShenyuInstanceRegisterRepositoryFactory.newInstance("zookeeper"));
        try (MockedStatic<ExtensionLoader> extensionLoaderMockedStatic = mockStatic(ExtensionLoader.class)) {
            ExtensionLoader extensionLoader = mock(ExtensionLoader.class);
            extensionLoaderMockedStatic.when(() -> ExtensionLoader.getExtensionLoader(ShenyuInstanceRegisterRepository.class)).thenReturn(extensionLoader);
            when(extensionLoader.getJoin("zs")).thenReturn(mock(ShenyuInstanceRegisterRepository.class));
            assertNotNull(ShenyuInstanceRegisterRepositoryFactory.newInstance("zs"));
        }
    }