ImportStore { public Import get(String uuid) { Import anImport = extractedDirPathMap.get(uuid); if (anImport == null) { throw new NotFoundException(); } return anImport; }  Import store(ArtifactImporter importer, Path path); void remove(String uuid); Import get(String uuid);  }
@Test(expected = NotFoundException.class) public void should_throw_not_found_exception_while_getting_an_unknown_import() throws Exception { importStore.get("unknown-import"); }