verify No Unexpected Requests
Verifies that every request received by the server was matched by a stub.
Typically called in a test tear-down to ensure that no unregistered request slipped through.
Example:
mokksy.get {
path("/api/resource")
}.respondsWith(String::class) {
body = "ok"
}
// when
client.get("/api/resource")
// then
mokksy.verifyNoUnexpectedRequests() // passes — all requests matched a stubContent copied to clipboard
Throws
If there are any requests that have not been matched by a stub.