/**
  * @test
  */
 public function driverRegistryIsInitializedWithPreconfiguredDrivers()
 {
     $className = $this->getMockClass('TYPO3\\CMS\\Core\\Resource\\Driver\\AbstractDriver');
     $shortName = uniqid();
     $GLOBALS['TYPO3_CONF_VARS']['SYS']['fal']['registeredDrivers'] = array($shortName => array('class' => $className));
     $this->initializeFixture();
     $this->assertEquals($className, $this->fixture->getDriverClass($shortName));
 }
 /**
  * @test
  */
 public function driverExistsReturnsFalseIfDriverDoesNotExist()
 {
     $GLOBALS['TYPO3_CONF_VARS']['SYS']['fal']['registeredDrivers'] = array();
     $this->initializeFixture();
     $this->assertFalse($this->fixture->driverExists(uniqid()));
 }
 /**
  * @test
  */
 public function driverExistsReturnsFalseIfDriverDoesNotExist()
 {
     $GLOBALS['TYPO3_CONF_VARS']['SYS']['fal']['registeredDrivers'] = array();
     $this->initializesubject();
     $this->assertFalse($this->subject->driverExists($this->getUniqueId()));
 }