FakeContactRepository

A test double for contact management operations.

Maintains a list of contacts and provides helpers for contact-related tests.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Contact(val userId: String, val name: String, val lastMessageTime: Long = 0)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun removeContact(userId: String)
Link copied to clipboard