@Test
public void getMandatoryCachedPaths() {

    when(config.mandatoryCachedRootPaths()).thenReturn(new String[] { X, Y });
    Set<String> paths = model.getMandatoryCachedPaths();
    assertNotNull(paths);
    assertFalse(paths.isEmpty());
    assertTrue(paths.contains(X));
    assertTrue(paths.contains(Y));
    activateDisabled();
    paths = model.getMandatoryCachedPaths();
    assertNotNull(paths);
    assertTrue(paths.isEmpty());
}