@Test public void testImportContactsToManyLists() { boolean imported = emktFactory .getContactAPI() .importContacts(new File("src/test/resource/sample-record.js"), 265, 247); assertTrue(imported); }
@Test public void testGetContactsListWithPaging() { Set<? extends Contact> contacts = emktFactory.getContactAPI().export(ContactStatus.VALID, ":pagina => 1", ":lista => 1"); assertNotNull(contacts); }
@Test public void testImportContactsNoList() { boolean imported = emktFactory.getContactAPI().importContacts(new File("src/test/resource/sample-record.js")); assertFalse(imported); }
@Test public void testGetContactsList() { Set<? extends Contact> contacts = emktFactory.getContactAPI().export(ContactStatus.VALID); assertNotNull(contacts); }