]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/utils/FakeBookmarkService.php
Add and update unit test for the new system (Bookmark + Service)
[github/shaarli/Shaarli.git] / tests / utils / FakeBookmarkService.php
diff --git a/tests/utils/FakeBookmarkService.php b/tests/utils/FakeBookmarkService.php
new file mode 100644 (file)
index 0000000..1ec5bc3
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+
+use Shaarli\Bookmark\BookmarkArray;
+use Shaarli\Bookmark\BookmarkFilter;
+use Shaarli\Bookmark\BookmarkIO;
+use Shaarli\Bookmark\BookmarkFileService;
+use Shaarli\Bookmark\Exception\EmptyDataStoreException;
+use Shaarli\Config\ConfigManager;
+use Shaarli\History;
+
+class FakeBookmarkService extends BookmarkFileService
+{
+    public function getBookmarks()
+    {
+        return $this->bookmarks;
+    }
+}