ComparableCache { @Nullable public V get(final K key) { requireNonNull(key); return internalCache.get(key); } ComparableCache(final int size);  ComparableCache(final int size, @Nullable String cacheName); @Nullable V get(final K key); boolean updateIfNewOrGreater(final K key, final V newValue);  }
@Test public void getOnNonExistingKeyReturnsNull() { assertThat(underTest.get("nonExisting")).isNull(); }