@Test
public void extract_noRecognizer() {

    when(config.getPageRecognizer()).thenReturn(null);
    final List<SiteMapEntry> entries = model.extract(resource);
    assertEquals(1, entries.size());
    final SiteMapEntry entry = entries.get(0);
    assertEquals(resource.getPath(), entry.getProperty(PATH, String.class));
    assertEquals(resource.getName(), entry.getProperty(NAME, String.class));
    assertFalse(entry.getProperty(CONTENT, Boolean.class));
}