Listener Example 1
This example is a UserService that users can be added/deleted from. When a user is added or deleted an event is fired to
all the UserListeners that were added by different clients. In this example, we show how to mock that listener to verify that the
correct event is fired and the correct parameter is passed to that mocklistener. This is the oppossite of Listener Example 2 which is show after this.
This example consists of a few tests on one system. Here are the files for this example....