sealed class ResultOfBeWordForCollectedAny[T] extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers
for an overview of
the matchers DSL.
- Source
- MustMatchers.scala
- Alphabetic
- By Inheritance
- ResultOfBeWordForCollectedAny
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfBeWordForCollectedAny(collected: Collected, xs: GenTraversable[T], original: Any, mustBeTrue: Boolean, prettifier: Prettifier, pos: Position)
Value Members
-
def
a[U <: T](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: <:<[T, AnyRef]): Assertion
This method enables the following syntax, where
badBook
is, for example, of typeBook
andgoodRead
refers to aBePropertyMatcher[Book]
:This method enables the following syntax, where
badBook
is, for example, of typeBook
andgoodRead
refers to aBePropertyMatcher[Book]
:all(books) must be a (goodRead) ^
-
def
a(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must be a ('file) ^
-
def
an[U <: T](beTrueMatcher: BePropertyMatcher[U])(implicit ev: <:<[T, AnyRef]): Assertion
This method enables the following syntax, where
badBook
is, for example, of typeBook
andexcellentRead
refers to aBePropertyMatcher[Book]
:This method enables the following syntax, where
badBook
is, for example, of typeBook
andexcellentRead
refers to aBePropertyMatcher[Book]
:all(books) must be an (excellentRead) ^
-
def
an(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must be an ('orange) ^
-
def
definedAt[U](right: U)(implicit ev: <:<[T, PartialFunction[U, _]]): Assertion
This method enables the following syntax, where
fraction
is, for example, of typePartialFunction
:This method enables the following syntax, where
fraction
is, for example, of typePartialFunction
:all(xs) must be definedAt (6) ^
-
def
theSameInstanceAs(right: AnyRef)(implicit toAnyRef: <:<[T, AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must be theSameInstanceAs anotherObject ^
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfBeWordForCollectedAny([collected], [xs], [mustBeTrue])"
- Definition Classes
- ResultOfBeWordForCollectedAny → AnyRef → Any