Factory method that constructs a new MatchResult
with passed matches
, failureMessage
, and
negativeFailureMessage
fields.
Factory method that constructs a new MatchResult
with passed matches
, failureMessage
, and
negativeFailureMessage
fields. The midSentenceFailureMessage
will return the same
string as failureMessage
, and the midSentenceNegatedFailureMessage
will return the
same string as negatedFailureMessage
.
indicates whether or not the matcher matched
a failure message to report if a match fails
a message with a meaning opposite to that of the failure message
Companion object for the
MatchResult
case class.