@Test
public void get_cacheExists() {

    when(structureCache.get(page)).thenReturn(Collections.emptyList());
    assertNull(model.get(page, 0));
    cache.putProperty("0", VALUE);
    assertEquals(VALUE, model.get(page, 0));
    when(structureCache.get(page)).thenReturn(null);
    assertEquals(VALUE, model.get(page, 0));
    when(siteMapExtractorsContainer.findFirstFor(page)).thenReturn(extractor);
    assertEquals(VALUE, model.get(page, 0));
    when(structureCache.get(page)).thenReturn(Collections.emptyList());
    assertEquals(VALUE, model.get(page, 0));
}