public static <T> Collection<T> newServiceInstances(final Class<T> service) {
        return SERVICES.containsKey(service) ? newServiceInstancesFromCache(service) : Collections.<T>emptyList();
    }
@Test
    void newServiceInstances() {
        SpiTestInterface loadInstance = NacosServiceLoader.load(SpiTestInterface.class).iterator().next();
        Collection<SpiTestInterface> actual = NacosServiceLoader.newServiceInstances(SpiTestInterface.class);
        assertEquals(1, actual.size());
        assertEquals(SpiTestImpl.class, actual.iterator().next().getClass());
        assertNotEquals(loadInstance, actual.iterator().next());
    }