summaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments/FakeFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Comments/FakeFactory.php')
-rw-r--r--tests/lib/Comments/FakeFactory.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeFactory.php b/tests/lib/Comments/FakeFactory.php
new file mode 100644
index 00000000000..ff8dfd3a259
--- /dev/null
+++ b/tests/lib/Comments/FakeFactory.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Test\Comments;
+
+use OCP\IServerContainer;
+
+/**
+ * Class FakeFactory
+ */
+class FakeFactory implements \OCP\Comments\ICommentsManagerFactory {
+
+ public function __construct(IServerContainer $serverContainer) {
+ }
+
+ public function getManager() {
+ return new FakeManager();
+ }
+}