@Test
public void should_add_new_style_asset_with_different_name_while_already_existing() throws Exception {

    Page page = aPage().withVersion("1.4.7")
            .withAsset(anAsset().withType(CSS).withName("style.css"))
            .withAsset(anAsset().withType(CSS).withName("style1.css")).build();
    step.migrate(page);
    Page migratedPage = pageRepository.get(page.getId());
    assertThat(migratedPage.getAssets()).contains(expectedAsset("style2.css"));
    verify(assetRepository).save(page.getId(), expectedAsset("style2.css"), expectedAssetContent());
}