issue #2865: Removing unused codes in NotificationCenterTest.cpp.
[linux] Fixing a compilation error in NotificationTest.cpp