aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/notifications-mock.h')
-rw-r--r--tests/notifications-mock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/notifications-mock.h b/tests/notifications-mock.h
index b727eec..b0f3b74 100644
--- a/tests/notifications-mock.h
+++ b/tests/notifications-mock.h
@@ -148,4 +148,8 @@ class NotificationsMock
return notifications;
}
+
+ bool clearNotifications (void) {
+ return dbus_test_dbus_mock_object_clear_method_calls(mock, baseobj, nullptr);
+ }
};