/**
* Test that we don't call our dependency when we should have a cached version.
*/
public void testVersionSelected_cached() {
RestApiService service = EasyMock.createControl().createMock(RestApiService.class);
// Populate the cache with the service we'll request later.
loader.cache.put(ServiceLoader.generateCacheKey("service", "version", CallStyle.REST), service);
@SuppressWarnings("unchecked")