Source

						public function testErrorArray() {
		$command = new MockCommand(array('request' => $this->request));
		$expected = "line 1\nline 2\n";
		$command->error(array('line 1', 'line 2'));
		$result = $command->response->error;
		$this->assertEqual($expected, $result);
	}