matches if a != b
matches if a != b
matches if a == b
matches if a == b
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
alias for beTheSameAs
alias for beTheSameAs
alias for beOneOf
alias for beOneOf
matches if a is null when v is null and a is not null when v is not null
matches if a is null when v is null and a is not null when v is not null
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
matches if a.isEmpty
matches if a.isEmpty
matches if a == b
matches if a == b
matches if a == false
matches if a == false
matches if the value returns a successful result when applied to a PartialFunction
matches if the value returns a successful result when applied to a PartialFunction
matches if the value is null
matches if the value is null
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
matches if a eq b
matches if a eq b
matches if a == true
matches if a == true
matches if a == b
matches if a == b
matches if a != b
matches if a != b
matches if a != b
matches if a != b
matches if a == b
matches if a == b
matches if a == b
matches if a == b
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
matches if a == b
matches if a == b
matches if v.getClass == c
matches if v.getClass == c
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
negate a matcher
negate a matcher
matches if a == b
matches if a == b
(Since version ) see corresponding Javadoc for more information.
This trait provides matchers which are applicable to any type of value