OrHaveWord

org.scalatest.matchers.dsl.MatcherFactory8.OrHaveWord
final class OrHaveWord

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 length(expectedLength: Long): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Length]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory or have length (3 - 1)
                       ^

Attributes

infix def message(expectedMessage: String): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Messaging]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory or have message ("Message from Mars!")
                       ^

Attributes

infix def size(expectedSize: Long): MatcherFactory9[SC, TC1, TC2, TC3, TC4, TC5, TC6, TC7, TC8, Size]

This method enables the following syntax given a MatcherFactory8:

This method enables the following syntax given a MatcherFactory8:

aMatcherFactory or have size (3 - 1)
                       ^

Attributes