Created
June 24, 2016 08:15
-
-
Save itskevinsam/65157918c3cbdc22529c617e4f215572 to your computer and use it in GitHub Desktop.
Observer Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wyldfyre@PITSWS190:~/temp$ python ObservableImplementation.py | |
Test Single Observer [Generic] | |
Invoked GenericObserver with arguments ('Hello', 'World', 'Test', 'Generic') {} | |
Test Multiple Observers [Generic, Logger, Email, WhatsApp] | |
Invoked GenericObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
Invoked LoggerObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
Invoked EmailerObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
Invoked WhatsApperObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
Test after removing Generic observer | |
Invoked LoggerObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
Invoked EmailerObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
Invoked WhatsApperObserver with arguments ('Hello', 'World', 'Test', 'Multiple') {} | |
wyldfyre@PITSWS190:~/temp$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment