aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Notification/DummyApp.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Notification/DummyApp.php')
-rw-r--r--tests/lib/Notification/DummyApp.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/lib/Notification/DummyApp.php b/tests/lib/Notification/DummyApp.php
new file mode 100644
index 00000000000..7cd99f13fd6
--- /dev/null
+++ b/tests/lib/Notification/DummyApp.php
@@ -0,0 +1,40 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace Test\Notification;
+
+use OCP\Notification\IApp;
+use OCP\Notification\INotification;
+
+class DummyApp implements IApp {
+ /**
+ * @param INotification $notification
+ * @throws \InvalidArgumentException When the notification is not valid
+ * @since 9.0.0
+ */
+ public function notify(INotification $notification): void {
+ // TODO: Implement notify() method.
+ }
+
+ /**
+ * @param INotification $notification
+ * @since 9.0.0
+ */
+ public function markProcessed(INotification $notification): void {
+ // TODO: Implement markProcessed() method.
+ }
+
+ /**
+ * @param INotification $notification
+ * @return int
+ * @since 9.0.0
+ */
+ public function getCount(INotification $notification): int {
+ // TODO: Implement getCount() method.
+ }
+}