NServiceBus/NServiceBus — pull request #180 by tapmantwo (2012-01-18 16:51:56+00:00)
Title: Fix issues with Manufacturing OrderSaga test

Hi,

A couple of proposed fixes

1) The tests were throwing an exception because the MessageCreator property in the ExtensionMethods class hadn't been set. After a few different attempts, I settled on the Test.Initialize() method being the best place to set this.

2) The tests were then failing because the ExpectSend wasn't occuring(instead, Bus.Defer was being called) - so changed the expectation in the tests to be ExpectTimeoutToBeSet.

Tests are now running successfully (for me at least :p)

Sorry about there being a lot of commits - still getting used to Git...

Cheers

Richard