/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { $arr = array('app' => 'testapp', 'trackEvents' => true, 'adapter' => 'EventCacheFileAdapter'); EventCache::setOption($arr); EventCache::flush(); }