Domanda di colloquio di Intel Corporation

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