In this session I teach you how to use Moq to mock out the database dependency in the integration tests to turn them into pure unit tests for your view-model. You will refactor the business layer by extracting an interface and using dependency injection to give your view-model the dependencies it needs to function.
Code:
http://1drv.ms/1C9TF6e
#wpf #mvvm #dcomengineering