org.scalatest.matchers.MustMatchers
This method enables syntax such as the following:
This method enables syntax such as the following:
result must be theSameInstanceAs anotherObject ^
This method enables syntax such as the following:
This method enables syntax such as the following:
result must not have length (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
result must have length (3)
^
This method enables syntax such as the following:
This method enables syntax such as the following:
objectWithLength must equal (3)
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
MustMatchers
orShouldMatchers
for an overview of the matchers DSL.This class is used in conjunction with an implicit conversion to enable
must
methods to be invoked onAnyRef
objects that can be implicitly converted to typeLengthWrapper
. TraitMustMatchers
includes implicit conversions from several types, including many structural types, toLengthWrapper
.