final case classBePropertyMatchResult(matches: Boolean, propertyName: String) extends Product with Serializable
The result of a Boolean property match operation, such as one performed by a
BePropertyMatcher,
which contains one field that indicates whether the match succeeded (i.e., the Boolean
property was true) and one field that provides
the name of the property.
For an example of a BePropertyMatchResult in action, see the documentation for
BePropertyMatcher.
matches
indicates whether or not the matcher matched (if the Boolean property was true, it was a match)
propertyName
the name of the Boolean property that was matched against
The result of a
Boolean
property match operation, such as one performed by aBePropertyMatcher
, which contains one field that indicates whether the match succeeded (i.e., theBoolean
property wastrue
) and one field that provides the name of the property.For an example of a
BePropertyMatchResult
in action, see the documentation forBePropertyMatcher
.indicates whether or not the matcher matched (if the
Boolean
property was true, it was a match)the name of the
Boolean
property that was matched against