title: unit testing viewmodel in silverlight MVVM pattern
body: <p>I need to do unit testing of view model in Silverlight application with prism. Here the view model that need to test has only one constructor which is taking <code>Dispatcher</code> and <code>EventAggregator</code> as parameters:</p>
  
  <pre><code>public MyViewModel( IDispatcher dispatcher, IEventAggregator aggregator )
          : base(dispatcher, aggregator) {...}
  </code></pre>
  
  <p>How to mock <code>Dispatcher</code> and <code>EventAggregator</code> parameters in my code in order to create an instance of my view model?</p>