Vivint interview question

How would you write a test case?