WifImporter { public WifImporter importAll() { for (BitmessageAddress identity : identities) { ctx.addresses().save(identity); } return this; } WifImporter(BitmessageContext ctx, File file);  WifImporter(BitmessageContext ctx, String data);  WifImporter(BitmessageContext ctx, InputStream in, Pubkey.Feature... features); List<BitmessageAddress> getIdentities(); WifImporter importAll(); WifImporter importAll(Collection<BitmessageAddress> identities); WifImporter importIdentity(BitmessageAddress identity);  }
@Test public void testImportAll() throws Exception { importer.importAll(); verify(repo, times(81)).save(any(BitmessageAddress.class)); }