public void TargetProcessIsDown() { TransportMock.ResetAllOnMessageHandlers(); TransportMock.OnCreateEntityCommand <BugDTO>().Reply( x => new TargetProcessExceptionThrownMessage { ExceptionString = "TargetProcess is down." }); }