package fake import app.dapk.st.matrix.http.MatrixHttpClient import io.mockk.coEvery import io.mockk.mockk class FakeMatrixHttpClient : MatrixHttpClient by mockk() { fun given(request: MatrixHttpClient.HttpRequest, response: T) { coEvery { execute(request) } returns response } }