-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.ContentMatcher
public final class PlainTextContentMatcher implements ContentMatcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPlainTextContentMatcher.Companion
-
Constructor Summary
Constructors Constructor Description PlainTextContentMatcher()
-
Method Summary
Modifier and Type Method Description BodyMatchResultmatchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)final List<BodyItemMatchResult>compareText(String expected, String actual, MatchingContext context)Result<List<InteractionContents>, String>setupBodyFromConfig(Map<String, Object> bodyConfig)-
-
Method Detail
-
matchBody
BodyMatchResult matchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)
-
compareText
final List<BodyItemMatchResult> compareText(String expected, String actual, MatchingContext context)
-
-
-
-