Beispiel #1
0
 public function testSetupHandlers()
 {
     // this is not possible to test with the agavi unit tests as this needs
     // a really clean env with no framework bootstrapped. Need to think about that.
     //$this->markTestIncomplete();
     AgaviTestingConfigCache::resetHandlers();
     $this->assertEquals(null, AgaviTestingConfigCache::getHandlers());
     AgaviTestingConfigCache::setUpHandlers();
     $handlers = AgaviTestingConfigCache::getHandlers();
     $this->assertNotEquals(null, $handlers);
 }