@Test
  public void testClear() {
    cache.put(status("p1", 0));
    cache.put(status("p2", 0));
    assertEquals(2, cache.getAll().size());

    cache.clear();

    assertEquals(0, cache.getAll().size());
  }
  @Test
  public void testPutGetAll() {
    cache.putAll(Arrays.asList(status("p1", 0), status("p2", 0)));

    assertEquals(Arrays.asList(status("p1", 0), status("p2", 0)), cache.getAll());
    assertNull(cache.findByProjectName("unknown"));
  }