improve scaladoc of TestKit.expectMsgAllOf

This commit is contained in:
Roland 2011-07-16 21:30:08 -04:00
parent a348025ccb
commit 892c6e056c

View file

@ -378,11 +378,9 @@ trait TestKitLight {
* given duration, with an AssertionFailure being thrown in case of timeout.
*
* <pre>
* within(1 second) {
* dispatcher ! SomeWork1()
* dispatcher ! SomeWork2()
* expectMsgAllOf(Result1(), Result2())
* }
* expectMsgAllOf(1 second, Result1(), Result2())
* </pre>
*/
def expectMsgAllOf[T](max: Duration, obj: T*): Seq[T] = expectMsgAllOf_internal(max.dilated, obj: _*)