Function pact_matching::match_message_contents
source · pub async fn match_message_contents(
expected: &MessageContents,
actual: &MessageContents,
context: &(dyn MatchingContext + Send + Sync)
) -> Result<(), Vec<Mismatch>>
Expand description
Matches the actual message contents to the expected one. This takes into account the content type of each.