Make Testing Legacy Code Viral: Mikado Method and Test Data Builders
When testing legacy code, combine the test data builder pattern with the mikado method. Next time you have to fix a bug, instead of trying to test it directly, start a mikado graph of test data builders to add this test. This will snowball into more and more objects that are easy to set up in tests
Philippe Bourgau