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