Issue Task Closed

#60059Create a Getter for the CacheManager inside Datahandler class

Stefano Kowalke 07/02/14, 13:23 updated 12/14/14, 15:16

Description

At the moment the CacheManager is created by
GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager');
within the code. This makes the particular method untestable.

Solution: Create a Getter which creates and returns the instance. This getter can be mocked.

Reviews 2