final class AndBeWord extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
- Source
- MatcherFactory8.scala
- Alphabetic
- By Inheritance
- AndBeWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AndBeWord()
Value Members
- def a[U](aMatcher: AMatcher[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, wherevalidNumber
is anAMatcher
:This method enables the following syntax given a
MatcherFactory8
, wherevalidNumber
is anAMatcher
:aMatcherFactory and be a (validNumber) ^
- def a[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, wherefile
is aBePropertyMatcher
:This method enables the following syntax given a
MatcherFactory8
, wherefile
is aBePropertyMatcher
:aMatcherFactory and be a (file) ^
- def an[U](anMatcher: AnMatcher[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, whereintegerNumber
is anAnMatcher
:This method enables the following syntax given a
MatcherFactory8
, whereintegerNumber
is anAnMatcher
:aMatcherFactory and be an (integerNumber) ^
- def an[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
, whereapple
is aBePropertyMatcher
:This method enables the following syntax given a
MatcherFactory8
, whereapple
is aBePropertyMatcher
:aMatcherFactory and be an (apple) ^
- def definedAt[A, U <: PartialFunction[A, _]](right: A): MatcherFactory8[SC with U, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax, where
fraction
refers to aPartialFunction
:This method enables the following syntax, where
fraction
refers to aPartialFunction
:aMatcherFactory and be definedAt (8) ^
- def theSameInstanceAs(anyRef: AnyRef): MatcherFactory8[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8]
This method enables the following syntax given a
MatcherFactory8
:This method enables the following syntax given a
MatcherFactory8
:aMatcherFactory and be theSameInstanceAs (string) ^