As feedback to his recent post on Modal Dialogs in MVVM and Silverlight 4, Slobodan Pavkov has received comments that the solution is not easy to Unit Test so he decided to create small blog posts on this subject just to show how simple and clean it is to do this.
So in this post i will use the same simple Demo Application for the previous modal dialogs post but I will add few Unit Tests using Silverlight Unit Testing Framework and Silverlight verstion of RhinoMocks.
Our Sample app is very simple and just shows a view with list of some User entities.