Pregunta de entrevista de Guidewire

How would you test the function in whiteboard problem.