Good suggestion here. This is an inner function of `setNotificationOnclickHandler`. And it might be hard to do the test.