This trait provides matchers which are applicable to any type of value
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object AnyMatchers.typetrait Matchersobject Matchers.typetrait MustMatchersobject MustMatchers.typetrait MustThrownMatchersobject MustThrownMatchers.typetrait ShouldMatchersobject ShouldMatchers.typetrait ShouldThrownMatchersobject ShouldThrownMatchers.typeShow all
Members list
Value members
Concrete methods
matches if a != b
matches if a != b
Attributes
matches if a == b
matches if a == b
Attributes
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
alias for beOneOf, which can be used with contain matchers
alias for beOneOf, which can be used with contain matchers
Attributes
alias for beTheSameAs
alias for beTheSameAs
Attributes
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
Attributes
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
Attributes
matches if a.isEmpty
matches if a.isEmpty
Attributes
matches if a == b
matches if a == b
Attributes
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
Attributes
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
Attributes
matches if a eq b
matches if a eq b
Attributes
matches if a != b
matches if a != b
Attributes
matches if a == b
matches if a == b
Attributes
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
matches if a == b
matches if a == b
Attributes
matches if v.getClass == c
matches if v.getClass == c
Attributes
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
Attributes
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)