hosts

fun hosts(vararg hosts: String, block: <ERROR CLASS>.() -> Unit)

Registers a mock for an external service specified by hosts and configured with block.

See also