Function pact_matching::match_message_contents[][src]

pub fn match_message_contents(
    expected: &Box<dyn Interaction + Send>,
    actual: &Box<dyn Interaction + Send>,
    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.