Bitmovin interview question

How to make code testable?