@Test
public void testGet() throws Exception {

    StoreInfoAndData data = new StoreInfoAndData("result", 10000, false);
    final Key key = new Key(1, "eng", FormatType.html, "full_view", true, FormatterWidth._100);
    store.put(key, data);
    final StoreInfoAndData loaded = store.get(key);
    assertEquals(data.getDataAsString(), loaded.getDataAsString());
    assertEquals(data.getChangeDate(), loaded.getChangeDate());
    assertEquals(data.isPublished(), loaded.isPublished());
    assertTrue(0 < countFiles(geonetworkDataDirectory.getHtmlCacheDir()));
}