@Override
    public Collection<? extends Backend> get() {
        ClassLoader classLoader = classLoaderSupplier.get();
        return get(ServiceLoader.load(BackendProviderService.class, classLoader));
    }
@Test
    void should_throw_an_exception_when_no_backend_could_be_found() {
        BackendServiceLoader backendSupplier = new BackendServiceLoader(classLoaderSupplier, objectFactory);

        Executable testMethod = () -> backendSupplier.get(emptyList()).iterator().next();
        CucumberException actualThrown = assertThrows(CucumberException.class, testMethod);
        assertThat("Unexpected exception message", actualThrown.getMessage(), is(equalTo(
            "No backends were found. Please make sure you have a backend module on your CLASSPATH.")));
    }