Within the test environment, you can test event handling using a default handler that catches the event when it is triggered. A simulation of the ABAP SET HANDLER statement assigns handlers to triggering events.
Prerequisites
You must have created an instance of the class that you want to test. Refer to
Creating an instance.Procedure
Result
If the method is called successfully, the chosen event is triggered and the result displayed.
To switch off the handler for the chosen event, choose Utilities ® Event handling ® Switch off handler.