I was playing with Ktor client testing and stumbled upon a problem. There is MockEngine which you pass to a httpClient so you can mock http responses. Documentation uses matching on url when http call is processed. But what if I want to give different responses to a same url called? Like requesting authorisation token with different expiration date. So I can give responses based on order, in which they were added to a MockEngine.