验证 NServiceBus saga 不回复发起者

Verify that an NServiceBus saga does not reply to originator

测试 saga 是否未回复发起者的最佳方法是什么?

我看到使用 NServiceBus.Testing 我可以调用 Saga.ExpectReplyToOriginator,但我没有看到 "ExpectNotReplyToOriginator" 之类的东西。我尝试使用 .ExpectNotSend() 和 .ExpectNotPublish() 并且似乎都没有在我期望的地方失败。

NServiceBus.Testing 的当前版本不支持您正在查找的内容。

我在这里开了一个问题:https://github.com/Particular/NServiceBus.Testing/issues/40

什么时候完成,我会通知你的