@SuppressWarnings("unchecked")
    public static <T> AgentServiceLoader<T> getServiceLoader(final Class<T> service) {
        return (AgentServiceLoader<T>) LOADERS.computeIfAbsent(service, AgentServiceLoader::new);
    }
@Test
    void assertGetServiceLoaderWithImplementSPI() {
        AgentServiceLoader<AgentServiceSPIFixture> actual = AgentServiceLoader.getServiceLoader(AgentServiceSPIFixture.class);
        assertThat(actual.getServices().size(), is(1));
        AgentServiceSPIFixture actualInstance = actual.getServices().iterator().next();
        assertThat(actualInstance, instanceOf(AgentServiceSPIFixtureImpl.class));
        assertThat(actualInstance, is(AgentServiceLoader.getServiceLoader(AgentServiceSPIFixture.class).getServices().iterator().next()));
    }