class UniversalImageCache implements ImageCache,
		MemoryCacheAware<String, Bitmap> {

	@Override
	public Bitmap get(String key) {
		return this.delegate.get(key);
	}

}

class UniversalImageCacheTest {

	@Mock MemoryCacheAware<String, Bitmap> delegate;
	@InjectMocks UniversalImageCache imageCache;
	 String key;
	 Bitmap value;

	@Test
	public void getShouldBeCalled() {

		// Given
		given(delegate.get(key)).willReturn(value);
		// When
		Bitmap hit = imageCache.get(key);
		// Then
		assertThat(hit, is(value));
	}

}