Merge remote-tracking branch 'pr/18985' into release-2.3-dev

This commit is contained in:
Roland Kuhn 2015-12-12 16:59:05 +01:00
commit 819c1ef504
14 changed files with 421 additions and 23 deletions

View file

@ -266,6 +266,16 @@ object TestSubscriber {
self
}
/**
* Fluent DSL
*
* Expect a stream element during specified time or timeout.
*/
def expectNext(d: FiniteDuration, element: I): Self = {
probe.expectMsg(d, OnNext(element))
self
}
/**
* Fluent DSL
*