  @Test
  public void size() throws ConnectionException, IOException {

    int size = 3;
    doReturn(size).when(client).dbsize();
    long actualSize = cache.size();
    assertEquals(size, actualSize);
  }