/** * Sets mock expectations for called method getDir in FileCache * @return void */ private function getDir($path = self::PATH) { $this->directoryMock->getPath()->atLeastOnce()->andReturn(self::PATH); }