@Test
public void should_exclude_assets() throws Exception {

    Migration<Page> migration = mock(Migration.class);
    LiveRepositoryUpdate<Page> liveRepositoryUpdate = new LiveRepositoryUpdate<>(repository, loader, singletonList(migration));
    createPage("1.0.0");
    folder.newFolder("pageJson","assets");
    folder.newFile("pageJson/assets/whatever.json");
    liveRepositoryUpdate.migrate();
    verify(migration, only()).migrate(any(Page.class));
}