@Test
public void should_be_refresh_repository_index_json_on_start() throws Exception {

    LiveRepositoryUpdate<Page> liveRepositoryUpdate = new LiveRepositoryUpdate<>(repository, loader, EMPTY_LIST);
    createPage("1.7.25");
    liveRepositoryUpdate.start();
    verify(persister).updateMetadata(any(Path.class), any(Page.class));
    verify(persister).saveInIndex(any(Path.class), any(Page.class));
}