public function testCreateCache() { $options = new CacheOptions(); $cacheManger = new CacheManager($options); $options->setEnabled(true); $adapter = new \Zend\Cache\Storage\Adapter\Memory(); $options->setAdapter($adapter); $settings = new \ArrayObject(); $cacheManger->create('stuff9', $settings); $this->assertEquals($settings, $adapter->getItem('stuff9')); }