This method enables the following syntax:
This method enables the following syntax:
obj should 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
.
This method enables the following syntax:
This method enables the following syntax:
obj should have length (2)
^
This method is ultimately invoked for objects that have a length
property structure
of type Int
,
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
.
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchers
orMustMatchers
for an overview of the matchers DSL.