ResultOfHaveWordForExtent

org.scalatest.matchers.must.Matchers.ResultOfHaveWordForExtent
final class ResultOfHaveWordForExtent[A](left: A, mustBeTrue: Boolean, prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

infix def length(expectedLength: Long)(implicit len: Length[A]): Assertion

This method enables the following syntax:

This method enables the following syntax:

obj must have length (2L)
               ^

This method is ultimately invoked for objects that have a length property structure of type Long, but is of a type that is not handled by implicit conversions from nominal types such as scala.Seq, java.lang.String, and java.util.List.

Attributes

infix def message(expectedMessage: String)(implicit messaging: Messaging[A]): Assertion

This method enables the following syntax:

This method enables the following syntax:

exception must have message ("file not found")
                     ^

Attributes

infix def size(expectedSize: Long)(implicit sz: Size[A]): Assertion

This method enables the following syntax:

This method enables the following syntax:

obj must have size (2L)
               ^

This method is ultimately invoked for objects that have a size property structure of type Long, but is of a type that is not handled by implicit conversions from nominal types such as Traversable and java.util.Collection.

Attributes

override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Attributes

Returns

"ResultOfHaveWordForExtent([left], [mustBeTrue])"

Definition Classes
Any