/** * test dump() * * @return void */ public function testDump() { FireCake::dump('mydump', array('one' => 1, 'two' => 2)); $this->assertEqual($this->firecake->sentHeaders['X-Wf-1-2-1-1'], '28|{"mydump":{"one":1,"two":2}}|'); $this->assertTrue(isset($this->firecake->sentHeaders['X-Wf-1-Structure-2'])); }