@Test
public void testMissingFolderIsCreated() throws IOException {

    Path root = folder.newFolder().toPath();
    Path nonExistingFolder = root.resolve("non/existing/folder");
    SW360Release release = SW360TestUtils.mkSW360Release("create");
    Path clearingDocument = generator.createClearingDocument(release, nonExistingFolder);
    assertThat(Files.exists(clearingDocument)).isTrue();
}