@Test public void backendRetrievalShouldReturnBackendWithOneGivenProvider() { final Set<TraceeBackendProvider> backendProvider = new HashSet<>(); backendProvider.add(new TestBackendProvider()); final TraceeBackend resolvedBackend = Tracee.getBackend(createTestBackendResolverWith(backendProvider)); assertThat(resolvedBackend, is(not(nullValue()))); }
public static TraceeBackend getBackend() { return getBackend(new BackendProviderResolver()); }
Tracee { public static TraceeBackend getBackend() { return getBackend(new BackendProviderResolver()); } }
Tracee { public static TraceeBackend getBackend() { return getBackend(new BackendProviderResolver()); } private  Tracee(); }
Tracee { public static TraceeBackend getBackend() { return getBackend(new BackendProviderResolver()); } private  Tracee(); static TraceeBackend getBackend(); }
Tracee { public static TraceeBackend getBackend() { return getBackend(new BackendProviderResolver()); } private  Tracee(); static TraceeBackend getBackend();  }