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:
parent
74ee90d52d
commit
a31964475e
1 changed files with 8 additions and 0 deletions
|
|
@ -143,6 +143,14 @@ object TestPublisher {
|
|||
self
|
||||
}
|
||||
|
||||
/**
|
||||
* Expect no messages.
|
||||
*/
|
||||
def expectNoMessage(): Self = executeAfterSubscription {
|
||||
probe.expectNoMessage()
|
||||
self
|
||||
}
|
||||
|
||||
/**
|
||||
* Expect no messages for a given duration.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue