How to successfully drive a MassTransitStateMachine via the InMemoryTestHarness?
问题 Following up to: How to write MassTransitStateMachine unit tests? Here's a simple test class (using MS Test) for a simple state machine called ProcedureStateMachine (note: this is not a real production state machine for us... just an experiment I'd used to play around with MassTransitStateMachine a while back.. it seemed a handy self-contained place to experiment with getting unit testing going too): [TestClass] public class ProcedureStateMachineTests { private ProcedureStateMachine _machine;