This method enables the following syntax, where badBook
is, for example, of type Book
and
goodRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where badBook
is, for example, of type Book
and
goodRead
refers to a BePropertyMatcher[Book]
:
all(books) should be a (goodRead) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should be a ('file) ^
This method enables the following syntax, where badBook
is, for example, of type Book
and
excellentRead
refers to a BePropertyMatcher[Book]
:
This method enables the following syntax, where badBook
is, for example, of type Book
and
excellentRead
refers to a BePropertyMatcher[Book]
:
all(books) should be an (excellentRead) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should be an ('orange) ^
This method enables the following syntax:
This method enables the following syntax:
all(colOfArray) should be ('empty) ^
This method enables the following syntax, where fraction
is, for example, of type PartialFunction
:
This method enables the following syntax, where fraction
is, for example, of type PartialFunction
:
all(xs) should be definedAt (6) ^
This method enables the following syntax:
This method enables the following syntax:
all(xs) should be theSameInstanceAs anotherObject ^
Overrides to return pretty toString.
Overrides to return pretty toString.
"ResultOfBeWordForCollectedArray([collected], [xs], [shouldBeTrue])"
This class is part of the ScalaTest matchers DSL. Please see the documentation for
InspectorsMatchers
for an overview of the matchers DSL.