Type-safe fluent mockito-style FSM builder.