Intel Corporation interview question

How would you design and code a feature that needs to be unit testable?