    @Test
    public void testCopyAssetsFromContent() {

        URL contentUrl = this.getClass().getResource("/fixture/content");
        File contents = new File(contentUrl.getFile());
        Asset asset = new Asset(config);
        asset.copyAssetsFromContent(contents);

        int totalFiles = countFiles(folder.toFile());
        int expected = 3;

        Assertions.assertTrue(totalFiles == expected, () -> String.format("Number of files copied must be %d but are %d", expected, totalFiles));

        File pngFile = new File(folder.toString() + File.separatorChar + "blog" + File.separatorChar + "2012/images/custom-image.png");
        Assertions.assertTrue(pngFile.exists(), () -> "File " + pngFile.getAbsolutePath() + " does not exist");

        File jpgFile = new File(folder.toString() + File.separatorChar + "blog" + File.separatorChar + "2013/images/custom-image.jpg");
        Assertions.assertTrue(jpgFile.exists(), () -> "File " + jpgFile.getAbsolutePath() + " does not exist");

        File jsonFile = new File(folder.toString() + File.separatorChar + "blog" + File.separatorChar + "2012/sample.json");
        Assertions.assertTrue(jsonFile.exists(), () -> "File " + jsonFile.getAbsolutePath() + " does not exist");

        Assertions.assertTrue(asset.getErrors().isEmpty(), "Errors during asset copying");
    }