@Test
public void should_not_save_an_artifact_already_migrated() throws Exception {

    Migration<Page> migration = new Migration<>("1.0.2", mock(MigrationStep.class));
    LiveRepositoryUpdate<Page> liveRepositoryUpdate = new LiveRepositoryUpdate<>(repository, loader, singletonList(migration));
    createPage("1.0.2");
    liveRepositoryUpdate.migrate();
    verify(persister, never()).save(any(Path.class), any(Page.class));
}