### Question:
LRUCache extends LinkedHashMap<K, V> { public LRUCache() { this(0,10000, 0.75f, true); } LRUCache();  LRUCache(int maximumCacheSize);  LRUCache(int initialCapacity, int maximumCacheSize, float loadFactor, boolean accessOrder); int getMaxCacheSize(); void setMaxCacheSize(int maxCacheSize);  }### Answer:
@Test public void testLRUCache() { LRUCache<Long, Long> underTest = new LRUCache<Long, Long>(); assertEquals(10000, underTest.getMaxCacheSize()); underTest.setMaxCacheSize(1000); assertEquals(1000, underTest.getMaxCacheSize()); }