Amazon interview question

asked me how to do unit test