use

abstract suspend fun <T> use(block: suspend RequestExpectation.() -> T): T

Expect a request/response that matches the given urlPattern.