@Test
public void should_migrate_artifact_assets() throws Exception {

    AssetIdMigrationStep<Page> migrationStep = new AssetIdMigrationStep<>();
    Page page = aPage()
            .withAsset(anAsset()
                    .withId(null))
            .build();
    migrationStep.migrate(page);
    assertThat(page.getAssets().iterator().next().getId()).isNotNull();
}