public function testDumpArray() { $response = new Response(); $this->assertEmpty($response->body()); $response->dump(array('sure', 1, 10, 17, 'ok' => 'no')); $this->assertNotEmpty($response->body()); $this->assertNotEquals('<pre></pre>', $response->body()); }
public function testDump() { $response = new Response(); $this->assertEmpty($response->body()); $response->dump('test'); $this->assertContains('test', $response->body()); }