NServiceBus/NServiceBus — pull request #185 by tapmantwo (2012-01-19 09:40:20+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...

Also, I've already put in the request but against the develop branch - not sure if that was the right thing to do?

Cheers

Richard