+
+ /**
+ * Test the setup of the config cache for installation
+ */
+ public function testSetUpCache()
+ {
+ $this->mockL10nT();
+
+ $install = new Installer();
+ $configCache = \Mockery::mock(IConfigCache::class);
+ $configCache->shouldReceive('set')->with('config', 'php_path', \Mockery::any())->once();
+ $configCache->shouldReceive('set')->with('system', 'basepath', '/test/')->once();
+
+ $install->setUpCache($configCache, '/test/');
+ }