Package-level declarations

Types

Link copied to clipboard

Test data source which can be used during testing of contacts.

Functions

Link copied to clipboard
fun ContactsServiceMock.addFilterByPhoneNumberQuery(phoneNumberToFind: String, contactToReturn: Contact?)

Add query when filtering on contacts by phone number.

Link copied to clipboard
Link copied to clipboard
fun ContactsServiceMock.addSearchQuery(searchText: String, contactItemsToReturn: List<ContactsDataSourceElement.ContactItem>?, orderBy: ContactsDataSourceQuery.ContactOrderBy? = ContactOrderBy(ContactItemOrder.GIVEN_NAME_ASC))

Add query when searching for a contact.

Link copied to clipboard

Clears the list of contacts.

Link copied to clipboard

Performs a default initialization of the contacts service mock which makes the service available.

Performs a default initialization of the contacts settings service mock which makes the service available.

Link copied to clipboard
fun ContactsServiceMock.setContacts(contactsList: List<Contact>, contactOrderBy: ContactsDataSourceQuery.ContactOrderBy? = ContactOrderBy(ContactItemOrder.GIVEN_NAME_ASC))

Add or update a list contacts.

Link copied to clipboard