/** * test enabling and disabling of FireCake output * * @return void */ public function testEnableDisable() { FireCake::disable(); FireCake::trace('myTrace'); $this->assertTrue(empty($this->firecake->sentHeaders)); FireCake::enable(); FireCake::trace('myTrace'); $this->assertFalse(empty($this->firecake->sentHeaders)); }