Beispiel #1
0
 public function testFileLoaderRegistration()
 {
     $dummyLoaderClassName = '\\Mock\\MockFileLoader';
     $this->assertFalse($this->loader->hasFileLoader($dummyLoaderClassName));
     $this->loader->registerFileLoader($dummyLoaderClassName);
     $this->assertTrue($this->loader->hasFileLoader($dummyLoaderClassName));
     $this->loader->deregisterFileLoader($dummyLoaderClassName);
     $this->assertFalse($this->loader->hasFileLoader($dummyLoaderClassName));
 }