a matcher checking if the elements are ordered
match if traversable contains (t1, t2)
match if traversable contains (t1, t2)
match if an traversable contains (t).
match if an traversable contains (t). This definition looks redundant with the one below but it is necessary to avoid the implicit argThat method from Mockito to infer an improper matcher
the HtmlPrinterSpec failing with a NPE if that method is missing
match if traversable contains (seq2).
match if traversable contains (seq2). n is a dummy paramter to allow overloading
match if traversable contains one of (t1, t2)
match if traversable contains one of (t1, t2)
match if traversable contains (x matches .
match if traversable contains (x matches .*+t+.*)
match if traversable contains (x matches p)
match if traversable contains (x matches p)
does a containAll comparison in both ways
does a containAll comparison in both ways
Matches if there is one element in the traversable verifying the function
parameter: (traversable.exists(function(_))
Matches if there is one element in the traversable verifying the function
parameter: (traversable.exists(function(_))
Matches if all the elements are matching a "like" function
Matches if all the elements are matching a "like" function
alias for haveSize
alias for haveSize
Matches if there is at least one matching a "like" function
Matches if there is at least one matching a "like" function
match if there is a way to size T
match if there is a way to size T
Matches if there l contains the same elements as the Traversable traversable
.
Matches if there l contains the same elements as the Traversable traversable
.
This verification does not consider the order of the elements but checks the traversables recursively
any java collection has a size
any java collection has a size
transform a value to a zero-arg function returning that value
transform a value to a zero-arg function returning that value
alias for haveSize
alias for haveSize
any scala array has a size
any scala array has a size
any scala collection has a size
any scala collection has a size
alias for haveSize
alias for haveSize
alias for beSorted
alias for beSorted
a regular string has a size, without having to be converted to an Traversable
a regular string has a size, without having to be converted to an Traversable