### Question:
Cache { public boolean contains(K key) { return itemMap.containsKey(key); } Cache(int capacity); V add(K key, V item); boolean contains(K key); V get(K key); Collection<V> clear(); V remove(K key);  }### Answer:
@Test public void testCreate_isEmpty() { for (int i = 0; i < CAPACITY; i++) { assertFalse(cache.contains(i)); } }