/** * Test * * @return void * */ public function testClear() { $el = new \Hivefive\CFlasher\CFlasher(); $_SESSION['flash'] = "test"; $res = $el->clearFlash(); $exp = true; $this->assertEquals($res, $exp, "Clearing the session failed"); }