apply a matcher on the value and return a MatchResult which can later on be transformed to a simple Result
apply a matcher on the value and return a MatchResult which can later on be transformed to a simple Result
a description of the value provided by the user a combination of the value show by specs2 and an optional description
evaluate the value and return the same expectable
evaluate the value and return the same expectable
evaluate the value once and return an expectable with the same expression, ready to be evaluated again
evaluate the value once and return an expectable with the same expression, ready to be evaluated again
apply a function to the value
apply a function to the value
change the expectable value
change the expectable value
apply a function to the expectable value
apply a function to the expectable value
apply a function to the description function
apply a function to the description function
the optional description function
the value is only evaluated if necessary
the value is only evaluated if necessary
This kind of expectable can be followed by the verb should to apply a matcher:
1 should beEqualTo(1)
For convenience, several shouldMatcher methods have also been defined as shortcuts to equivalent:
a should matcher