Packages

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

Instance Constructors

  1. new AndHaveWord()

Value Members

  1. def length(expectedLength: Long): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Length]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory and have length (3 - 1)
                             ^
    

  2. def message(expectedMessage: String): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Messaging]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory and have message ("A message from Mars!")
                             ^
    

  3. def size(expectedSize: Long): MatcherFactory5[SC, TC1, TC2, TC3, TC4, Size]

    This method enables the following syntax given a MatcherFactory4:

    This method enables the following syntax given a MatcherFactory4:

    aMatcherFactory and have size (3 - 1)
                             ^