If you’ve been into technology for some time, you certainly know that it’s possible to write code which is not testable. Most of our work is done with already existing code. Legacy code often does not use IoC and is not based on interfaces, and sometimes it has nothing to do with OOP. The question is: is it possible to automatically test code like this (assuming that rewriting the application is not an option)?