FakeCollectionScheduler => FakeIntervalCheck, so FakeAkonadiServer can return it

Authored by dfaure on Apr 15 2019, 8:47 PM.

Description

FakeCollectionScheduler => FakeIntervalCheck, so FakeAkonadiServer can return it

Summary:
This way AkonadiServer::instance()->intervalChecker() is never null
anymore, which simplifies some code at little bit, and will allow
testing how NotificationCollector interacts with IntervalCheck.

BTW CacheCleaner needs the if(), it's optional (null if configured away by user)

Test Plan: full "ctest"

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D20512