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
- Matcher.scala
- Alphabetic
- By Inheritance
- AndHaveWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AndHaveWord()
Value Members
-
def
length(expectedLength: Long): MatcherFactory1[T, Length]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and have length (3 - 1) ^
-
def
message(expectedMessage: String): MatcherFactory1[T, Messaging]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and have message ("A message from Mars") ^
-
def
size(expectedSize: Long): MatcherFactory1[T, Size]
This method enables the following syntax:
This method enables the following syntax:
aMatcher and have size (3 - 1) ^