Beispiel #1
0
 public function testFlushInstantly()
 {
     $this->dispatcher = Yaf_Dispatcher::getInstance();
     $this->assertFalse($this->readAttribute($this->dispatcher, '_instantly_flush'));
     $r = $this->dispatcher->flushInstantly(true);
     $this->assertTrue($this->readAttribute($this->dispatcher, '_instantly_flush'));
 }