diff options
Diffstat (limited to 'tests/utils/FakeBookmarkService.php')
-rw-r--r-- | tests/utils/FakeBookmarkService.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/utils/FakeBookmarkService.php b/tests/utils/FakeBookmarkService.php new file mode 100644 index 00000000..1ec5bc3d --- /dev/null +++ b/tests/utils/FakeBookmarkService.php | |||
@@ -0,0 +1,18 @@ | |||
1 | <?php | ||
2 | |||
3 | |||
4 | use Shaarli\Bookmark\BookmarkArray; | ||
5 | use Shaarli\Bookmark\BookmarkFilter; | ||
6 | use Shaarli\Bookmark\BookmarkIO; | ||
7 | use Shaarli\Bookmark\BookmarkFileService; | ||
8 | use Shaarli\Bookmark\Exception\EmptyDataStoreException; | ||
9 | use Shaarli\Config\ConfigManager; | ||
10 | use Shaarli\History; | ||
11 | |||
12 | class FakeBookmarkService extends BookmarkFileService | ||
13 | { | ||
14 | public function getBookmarks() | ||
15 | { | ||
16 | return $this->bookmarks; | ||
17 | } | ||
18 | } | ||