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
- MatcherFactory8.scala
- Alphabetic
- By Inheritance
- OrHaveWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new OrHaveWord()
Value Members
-
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) ^
-
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!") ^
-
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) ^