Valeo Interview Question

How to test an FSM?