org.scalatest.LoneElement
Wrapper class that adds a loneElement method to Map for which an implicit Collecting[(K, V), scala.collection.GenTraversable[(K, V)]] is available.
loneElement
Collecting[(K, V), scala.collection.GenTraversable[(K, V)]]
Through the implicit conversion provided by trait LoneElement, this class allows you to make statements like:
LoneElement
map.loneElement._1 should be > 9
the element type of the Map key on which to add the loneElement method
the element type of the Map value on which to add the loneElement method
the "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 Map for which an implicitCollecting[(K, V), scala.collection.GenTraversable[(K, V)]]
is available.Through the implicit conversion provided by trait
LoneElement
, this class allows you to make statements like:the element type of the Map key on which to add the
loneElement
methodthe element type of the Map value on which to add the
loneElement
methodthe "Map type constructor" for the collection on which to add the
loneElement
method