@Test
public void should_update_inactive_indicator_when_asset_is_inactive_in_a_page() throws Exception {

    Page page = aPage()
            .withAsset(
                    anAsset().withId("assetUIID1").withName("myfile.js").withType(AssetType.JAVASCRIPT).build(),
                    anAsset().withId("assetUIID2").withName("myfile.css").withType(AssetType.CSS).build()
            )
            .withInactiveAsset("assetUIID2")
            .build();
    Set<Asset> assets = assetVisitor.visit(page);
    assertThat(assets).extracting("name").contains("myfile.js", "myfile.css");
    assertThat(assets).extracting("active").contains(true, false);
}