Tests that AlertCommand objects can be constructed and rendered.
function testAlertCommand() {
$command = new AlertCommand('Set condition 1 throughout the ship!');
$expected = array(
'command' => 'alert',
'text' => 'Set condition 1 throughout the ship!',
);
$this
->assertEqual($command
->render(), $expected, 'AlertCommand::render() returns a proper array.');
}