catch.com.au interview question

How to write good unit test?