reactive testing code example Example: reactive testing reactive approach is based on responding to events after they have happened.