Packages

final class OrHaveWord 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
MatcherFactory1.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrHaveWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OrHaveWord()

Value Members

  1. def length(expectedLength: Long): MatcherFactory2[SC, TC1, Length]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or have length (3 - 1)
                            ^
    

  2. def message(expectedMessage: String): MatcherFactory2[SC, TC1, Messaging]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

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

  3. def size(expectedSize: Long): MatcherFactory2[SC, TC1, Size]

    This method enables the following syntax given a MatcherFactory1:

    This method enables the following syntax given a MatcherFactory1:

    aMatcherFactory or have size (3 - 1)
                            ^