private void When_I_Send_A_Different_Message() { try { _messageBus.Send(new OtherTestMessage()); } catch (NoHandlerException e) { _expectedException = e; } }
private void When_I_Send_A_Message() { try { _testMessage = new TestMessage(); _messageBus.Send(_testMessage); } catch (NoHandlerException e) { _expectedException = e; } }