@Test
public void getMandatoryCachedPaths() {

    example.setDomains();
    assertEquals(0, model.getMandatoryCachedPaths().size());
    example.setDomains(EXAMPLE_COM);
    Set<String> paths = model.getMandatoryCachedPaths();
    assertEquals(1, paths.size());
    assertTrue(paths.contains(example.getPages().getPath()));
    final SiteMock other = repo.init(new SiteMock("other"));
    paths = model.getMandatoryCachedPaths();
    assertEquals(1, paths.size());
    assertTrue(paths.contains(example.getPages().getPath()));
    other.setDomains(EXAMPLE_COM);
    paths = model.getMandatoryCachedPaths();
    assertEquals(2, paths.size());
    assertTrue(paths.contains(example.getPages().getPath()));
    assertTrue(paths.contains(other.getPages().getPath()));
}