@@ -701,3 +701,22 @@ class EphemeralNotificationsTests(NotificationsBase):
701701 self.assertThat(get_notification, Eventually(NotEquals(None)))
702702 self._assert_notification(
703703 get_notification(), summary, body, False, False, 1.0)
704+
705+ def test_notification_helper(self):
706+ """ use the create notification script to get a notification dialog.
707+ Check that the arguments passed to the script match the fields. """
708+
709+ unity_proxy = self.launch_unity()
710+ unlock_unity(unity_proxy)
711+
712+ summary = 'Helper summary'
713+ body = 'Helper body'
714+
715+ notification = shell.create_ephemeral_notification(summary, body)
716+ notification.show()
717+
718+ notification_data = self.main_window.wait_for_notification()
719+
720+ self.assertThat(notification_data['summary'],
721+ Eventually(Equals(summary)))
722+ self.assertThat(notification_data['body'], Eventually(Equals(body)))