public function __construct() { global $PAGE; parent::__construct($PAGE); $this->cache = new navigation_cache('unittest_nav'); }