OrBeWord

final class OrBeWord

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]): MatcherFactory5[SC & AnyRef & U, TC1, TC2, TC3, TC4, TC5]

This method enables the following syntax given a MatcherFactory5:

This method enables the following syntax given a MatcherFactory5:

aMatcherFactory or be a (directory)
                     ^
infix def a[U](aMatcher: AMatcher[U]): MatcherFactory5[SC & U, TC1, TC2, TC3, TC4, TC5]

This method enables the following syntax given a MatcherFactory5:

This method enables the following syntax given a MatcherFactory5:

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

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

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

aMatcherFactory or be an (apple)
                     ^
infix def an[U](anMatcher: AnMatcher[U]): MatcherFactory5[SC & U, TC1, TC2, TC3, TC4, TC5]

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

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

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

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 or be definedAt (8)
                     ^
infix def theSameInstanceAs(anyRef: AnyRef): MatcherFactory5[SC & AnyRef, TC1, TC2, TC3, TC4, TC5]

This method enables the following syntax given a MatcherFactory5:

This method enables the following syntax given a MatcherFactory5:

aMatcherFactory or be theSameInstanceAs (otherString)
                     ^