Original post

Hello all, I have a quick question regarding whether it is feasible to write unit tests at larger scales for APIs that currently do not utilize interfaces. Is it better to attempt to hardcode dependencies into the tests themselves, or refactor the applications to include mockable interfaces?