@Test
public void should_load_assets() throws Exception{

    Page page = PageBuilder.aPage().build();
    createDirectoryAsset("css");
    Files.write(zipBaseDir.resolve("assets").resolve("css").resolve("myfile.css"), "<style>.maclass1{}</style>".getBytes());
    List<Asset> assetsReturned = new ArrayList<>();
    assetsReturned.add(new Asset().setName("myfile.css"));
    when(pageAssetRepository.findAssetInPath(page, AssetType.CSS, zipBaseDir.resolve("assets").resolve("css"))).thenReturn(assetsReturned);
    List<Asset> assets = pageAssetImporter.load(page, zipBaseDir);
    assertThat(assets).isNotEmpty();
}