/** * @test */ public function driverConfigVerificationFailsIfConfiguredBasePathDoesNotExist() { $this->setExpectedException('TYPO3\\CMS\\Core\\Resource\\Exception\\InvalidConfigurationException', '', 1299233097); $driverConfiguration = array('basePath' => \vfsStream::url($this->basedir . 'doesntexist/')); $this->assertFalse(file_exists($driverConfiguration['basePath'])); \TYPO3\CMS\Core\Resource\Driver\LocalDriver::verifyConfiguration($driverConfiguration); }