final case class BePropertyMatchResult(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
- Alphabetic
- By Inheritance
- BePropertyMatchResult
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
BePropertyMatchResult(matches: Boolean, propertyName: String)
- 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