AndBeWord

org.scalatest.matchers.dsl.MatcherFactory1.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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

infix def a[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory1[SC & AnyRef & U, TC1]

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

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

aMatcherFactory and be a (file)
                      ^

Attributes

infix def a[U](aMatcher: AMatcher[U]): MatcherFactory1[SC & U, TC1]

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

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

aMatcherFactory and be a (validNumber)
                      ^

Attributes

infix def an[U](bePropertyMatcher: BePropertyMatcher[U]): MatcherFactory1[SC & AnyRef & U, TC1]

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

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

aMatcherFactory and be an (apple)
                      ^

Attributes

infix def an[U](anMatcher: AnMatcher[U]): MatcherFactory1[SC & U, TC1]

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

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

aMatcherFactory and be an (integerNumber)
                      ^

Attributes

infix def definedAt[A, U <: PartialFunction[A, _]](right: A): MatcherFactory1[SC & U, TC1]

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)
                      ^

Attributes

infix def theSameInstanceAs(anyRef: AnyRef): MatcherFactory1[SC & AnyRef, TC1]

This method enables the following syntax given a MatcherFactory1:

This method enables the following syntax given a MatcherFactory1:

aMatcherFactory and be theSameInstanceAs (string)
                      ^

Attributes