# 164 - Learning how to use Manual Mocks for Testing

Date: 2/23/2010

Level: Intermediate

Author: Derik Whittaker

Tags: Refactoring

Views: (3993) Watched: (4308)

In this episode we are going to take a look at how to use manual mocks for testing

Often times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to test. When we want to test in isolation you can use a testing technique where you mock out your dependencies. When using Mocks you can either do it manually (what we are looking at) or you can use a mocking framework like Rhino Mocks. Either way you achieve the same results.
Click here to Watch this Episode

Topic Resources