@Test(expected =  ImportException.class)
public void should_throw_import_exception_when_an_import_error_occurs() throws Exception {

    when(importStore.store(importer, unzipedPath)).thenReturn(new Import(importer, "a-uuid", unzipedPath));
    doThrow(new ImportException(ImportException.Type.PAGE_NOT_FOUND, "an Error message")).when(importer).doImport(any(Import.class));
    pathImporter.importFromPath(unzipedPath, importer);
}