title: Rhino Mock Stub Async Method
body: <p>I have a ViewModel which, in the constructor, makes a call to an async void method to add to a collection</p>
  
  <pre><code>public MyViewModel(ICommandHandler commandHandler)
  {
      _commandHandler = commandHandler;
      SetupCollection();
  }
  
  
  private async void SetupCollection()
  {
      var commands = GetCommands();
  
      foreach (var command in commands)
      {
          var response = await _commandHandler.ExecuteGetReply(command);
  
          if (response != null)
             Response.Add(response);
      }
  }
  </code></pre>
  
  <p>How exactly would I stub the <code>_commandHandler.ExecuteGetReply()</code> command to return a value?</p>
  
  <p>Also, is it OK to have such a function in the constructor to do something like this? Or should this perhaps go within an... <code>override void OnActivate()</code> call (I'm using Caliburn Micro) ?</p>