0

测试 saga 没有回复发起人的最佳方法是什么?

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

4

1 回答 1

0

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

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

什么时候完成我会告诉你的

于 2016-02-08T08:45:38.963 回答