Changes made to reflect ui-diskResource changes.
The disk resource module unit test was failing, so a change was made to
the utility function which is used by NotificationHelper.