At some point in a code one may add something like
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(doSomething) name:@\"Hello\" obj
Remove observer before adding it:
How to avoid adding multiple NSNotification observer?
For unit testing you should mock NSNotificationCenter as it is dependency.