@Test
public void should_get_ImportException_while_no_importer_found_from_path() throws Exception {

    tempDir.newFolderPath("resources");
    try {
        importerResolver.getImporter(tempDir.toPath());
        failBecauseExceptionWasNotThrown(ImportException.class);
    } catch (ImportException e) {
        assertThat(e.getMessage()).isEqualTo("Could not load component, artifact model file not found");
        assertThat(e.getType()).isEqualTo(MODEL_NOT_FOUND);
        assertThat((Collection<String>) e.getInfos().get("modelfiles")).containsOnly("page.json", "widget.json");
    }
}