Question d’entretien chez Guidewire

How would you test the function in whiteboard problem.