-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Feature summary
Add a verifyNoRequests(MicrocksRequest request) helper to MicrocksClient.
Motivation
MicrocksClient already exposes filtered request accessors such as:
verify(request)getRecordedRequests(request)getRecordedRequestCount(request)getLastRecordedRequest(request)
A negative assertion for a filtered request matcher is currently missing.
This makes simple assertions more verbose in tests where we want to express that no matching request was observed for a specific method/path/query/header/body combination.
Proposed API
client.verifyNoRequests(
request()
.withMethod("DELETE")
.withPath("/orders/123")
);Why this is useful
This keeps the API symmetric and avoids manual filtering of recorded requests in test code.
Scope
This is intended as a small additive helper only. It should reuse the existing request matching / recorded request retrieval logic and not introduce any new matching model.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels