Half a year ago I blogged about using TPL with MVVM in a test-friendly way. My solution turned out to be pretty handy, though it was far from being perfect. In this post
            
     
            
    
        
            
                UPD: This implementation didn’t work as well as expected, please read the follow-up article.
Recently I’ve faced an issue with writing unit tests for view model commands that use Task Parallel
            
     
            
    
        
            
                If you follow the MVVM pattern while developing your WPF/Silverlight applications, then you are probably familiar with DelegateCommand (or RelayCommand, as it is called sometimes) model. In brief: it is an implementation