'Ensure the notification function is NOT triggered when the
unenrollment is for any mode other than verified (i.e. any mode other
than one for which refunds are presently supported).  See the
TODO associated with XCOM-371 in the signals module in the commerce
package for more information.'

@mock.patch(u'commerce.signals.send_refund_notification')
@ddt.data(CourseMode.HONOR, CourseMode.PROFESSIONAL, CourseMode.AUDIT, CourseMode.NO_ID_PROFESSIONAL_MODE, CourseMode.CREDIT_MODE)
def test_notification_not_verified(self, mode, mock_send_notification):

    self.course_enrollment.mode = mode
    with mock_create_refund(status=200, response=[1, 2, 3]):
        self.send_signal()
        self.assertFalse(mock_send_notification.called)
