|
specs 1.2.3 API
|
|
org/specs/matcher/MockMatchers.scala]
trait
MockMatchers
extends AnyRef| Method Summary | |
def
|
any
[T] : T
any[Type] can be used to match any parameter in a mock callUsage: mock.callMethodWith(any[String]) |
def
|
beMet
: Matcher[Protocol]
Matches if the expected messages are properly received
|
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
def
any[T] : T
any[Type] can be used to match any parameter in a mock callmock.callMethodWith(any[String])|
specs 1.2.3 API
|
|