### Question:
CassandraArchiveRepository implements ArchiveRepository { @Override public void deleteArchive(ModuleId moduleId) throws IOException { Objects.requireNonNull(moduleId, "moduleId"); cassandra.deleteRow(moduleId.toString()); } CassandraArchiveRepository(CassandraArchiveRepositoryConfig config);  CassandraArchiveRepository(CassandraArchiveRepositoryConfig config, RepositoryView defaultView); @Override String getRepositoryId(); @Override RepositoryView getDefaultView(); @Override RepositoryView getView(String view); @Override void insertArchive(JarScriptArchive jarScriptArchive); @Override void insertArchive(JarScriptArchive jarScriptArchive, Map<String, Object> initialDeploySpecs); @Override Set<ScriptArchive> getScriptArchives(Set<ModuleId> moduleIds); @Override void deleteArchive(ModuleId moduleId); CassandraArchiveRepositoryConfig getConfig();  }### Answer:
@Test public void testDeleteArchive() throws IllegalArgumentException, IOException { repository.deleteArchive(ModuleId.fromString("testModule.v3")); verify(gateway).deleteRow("testModule.v3"); }