在java.util.Map中“应包含allOf”?

我如何在Java Map上包含一个allOf断言?

以下没有用

val testMap = new java.util.LinkedHashMap[Int, Int]()
testMap.put(1,2)
testMap.put(2,4)
testMap.put(3,6)
testMap should contain allOf (1->2, 2->4, 3->6)

它给

{1=2, 2=4, 3=6} did not contain all of ((1,2), (2,4), (3,6))

医生说

The Aggregating companion object provides implicit instances of Aggregating[L] for types GenTraversable[E], java.util.Collection[E], java.util.Map[K, V], String, Array[E].

http://www.scalatest.org/user_guide/using_matchers#workingWithAggregations

我究竟做错了什么?

Scala     v2.11
ScalaTest v3.1.1