JPMorganChase interview question

how will you write a test case?