org.scalatest.LoneElement
Wrapper class that adds a loneElement method to Java Map for which an implicit Collecting[org.scalatest.Entry, java.util.Map] is available.
loneElement
Collecting[org.scalatest.Entry, java.util.Map]
Through the implicit conversion provided by trait LoneElement, this class allows you to make statements like:
LoneElement
jmap.loneElement.getKey should be > 9
the element type of the Java Map key on which to add the loneElement method
the element type of the Java Map value on which to add the loneElement method
the "Java Map type constructor" for the collection on which to add the loneElement method
a typeclass that enables the loneElement syntax
Wrapper class that adds a
loneElement
method to Java Map for which an implicitCollecting[org.scalatest.Entry, java.util.Map]
is available.Through the implicit conversion provided by trait
LoneElement
, this class allows you to make statements like:jmap.loneElement.getKey should be > 9
the element type of the Java Map key on which to add the
loneElement
methodthe element type of the Java Map value on which to add the
loneElement
methodthe "Java Map type constructor" for the collection on which to add the
loneElement
method