Canada Life interview question

How do you write a unit test for some hypothetical scenario?