@Test
public void testClear() {

    cache.add(25, 25.0);
    cache.add(26, 26.0);
    assertTrue(cache.contains(25));
    assertTrue(cache.contains(26));
    cache.clear();
    assertFalse(cache.contains(25));
    assertFalse(cache.contains(26));
}