AndBeWord

final class AndBeWord

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

class Object
trait Matchable
class Any

Value members

Concrete methods

infix def a[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory7[SC & AnyRef & U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

This method enables the following syntax given a MatcherFactory7, where file is a BePropertyMatcher:

This method enables the following syntax given a MatcherFactory7, where file is a BePropertyMatcher:

aMatcherFactory and be a (file)
                      ^
infix def a[U](aMatcher: AMatcher[U]): MatcherFactory7[SC & U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

This method enables the following syntax given a MatcherFactory7, where validNumber is an AMatcher:

This method enables the following syntax given a MatcherFactory7, where validNumber is an AMatcher:

aMatcherFactory and be a (validNumber)
                      ^
infix def an[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory7[SC & AnyRef & U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

This method enables the following syntax given a MatcherFactory7, where apple is a BePropertyMatcher:

This method enables the following syntax given a MatcherFactory7, where apple is a BePropertyMatcher:

aMatcherFactory and be an (apple)
                      ^
infix def an[U](anMatcher: AnMatcher[U]): MatcherFactory7[SC & U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

This method enables the following syntax given a MatcherFactory7, where integerNumber is an AnMatcher:

This method enables the following syntax given a MatcherFactory7, where integerNumber is an AnMatcher:

aMatcherFactory and be an (integerNumber)
                      ^
infix def definedAt[A, U <: PartialFunction[A, _]](right: A): MatcherFactory7[SC & U, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

This method enables the following syntax, where fraction refers to a PartialFunction:

This method enables the following syntax, where fraction refers to a PartialFunction:

aMatcherFactory and be definedAt (8)
                      ^
infix def theSameInstanceAs(anyRef: AnyRef): MatcherFactory7[SC & AnyRef, TC1, TC2, TC3, TC4, TC5, TC6, TC7]

This method enables the following syntax given a MatcherFactory7:

This method enables the following syntax given a MatcherFactory7:

aMatcherFactory and be theSameInstanceAs (string)
                      ^