Class McpAppMessageMatch
- Namespace
- Kuestenlogik.Bowire.Endpoints
- Assembly
- Kuestenlogik.Bowire.dll
#1071 — whether a JSON-RPC message an app sent is the one a test expects: the same method, and params that contain every value the expectation names (objects by their keys and arrays by their elements, recursively; scalars by equality).
public static class McpAppMessageMatch
- Inheritance
-
McpAppMessageMatch
- Inherited Members
Methods
Matches(JsonObject, string, JsonNode?)
True when message has method and its params contain expectedParams.
public static bool Matches(JsonObject message, string method, JsonNode? expectedParams)
Parameters
messageJsonObjectmethodstringexpectedParamsJsonNode