Source

						public function testHelp() {
		$command = new MockCommand(array('request' => $this->request));
		$return = $command->__invoke('_help');

		$this->assertTrue($return);

		$expected = "DESCRIPTION.*This is the Mock Command";
		$result = $command->response->output;
		$this->assertPattern("/{$expected}/s", $result);

		$command = new MockCommand(array('request' => $this->request));
		$return = $command->__invoke('_help');

		$expected = "testRun";
		$result = $command->response->output;
		$this->assertPattern("/{$expected}/m", $result);
	}