@Test public void testImportContactsToManyLists() { boolean imported = emktFactory .getContactAPI() .importContacts(new File("src/test/resource/sample-record.js"), 265, 247); assertTrue(imported); }
@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); }
@Test public void testGetContactsListWithPaging() { Set<? extends Contact> contacts = emktFactory.getContactAPI().export(ContactStatus.VALID, ":pagina => 1", ":lista => 1"); assertNotNull(contacts); }
@Before public void setUp() { emktFactory = EMKTApiFactory.configure("testelmm", "teste55", "2c4f7371bd4bd63b6879d0a51ef6701b"); }