LFUCache { public int getCapacity() { return capacity; } LFUCache();  LFUCache(final int maxCapacity, final float evictionFactor); int getCapacity(); V put(final K key, final V value); V remove(final K key); V get(final K key); int getSize();  }
@Test public void testCapacity() throws Exception { LFUCache<String, Integer> cache = new LFUCache<String, Integer>(); assertThat(cache.getCapacity(), equalTo(1000)); }