vendredi 5 février 2016

Verify that an NServiceBus saga does not reply to originator

What is the best way to test that a saga has not replied to originator?

I see that using NServiceBus.Testing I can call Saga.ExpectReplyToOriginator, but I'm not seeing anything like "ExpectNotReplyToOriginator". I tried using .ExpectNotSend() and .ExpectNotPublish() and neither seems to fail where I'd expect it to.

Aucun commentaire:

Enregistrer un commentaire