@Override
  public InputStream read(String key) {
    checkNotNull(key);
    checkArgument(contains(key));
    return cache.get(key);
  }
@Test
  public void read_fails_if_key_not_found() {
    assertThatThrownBy(() -> readCache.read("unknown")).isInstanceOf(IllegalArgumentException.class);
  }