An ongoing challenge when writing unit tests is isolating the class under test from the classes that it depends on When you’re the one writing the dependencies  you can write them in a way that is friendly to unit testing