Add forgotten expectNoMessage method in StreamTestKit (#26070)

* Add forgotten `expectNoMessage` method in StreamTestKit

As discovered during https://github.com/akka/akka-http/pull/2292#discussion_r239473817 the parameterless version of `expectNoMessage` in StreamTestKit is missing.
This commit is contained in:
Josep Prat 2018-12-12 10:25:29 +01:00 committed by Patrik Nordwall
parent 74ee90d52d
commit a31964475e

View file

@ -143,6 +143,14 @@ object TestPublisher {
self
}
/**
* Expect no messages.
*/
def expectNoMessage(): Self = executeAfterSubscription {
probe.expectNoMessage()
self
}
/**
* Expect no messages for a given duration.
*/