public function testHeader() { $command = new MockCommand(array('request' => $this->request)); $expected = "----\nheader\n----\n"; $command->header('header', 4); $result = $command->response->output; $this->assertEqual($expected, $result); }