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
- MatcherFactory1.scala
- Alphabetic
- By Inheritance
- AndHaveWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AndHaveWord()
Value Members
-
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 and have length (3 - 1) ^
-
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 and have message ("A message from Mars!") ^
-
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 and have size (3 - 1) ^