Tests that RedirectCommand objects can be constructed and rendered.
function testRedirectCommand() {
$command = new RedirectCommand('http://example.com');
$expected = array(
'command' => 'redirect',
'url' => 'http://example.com',
);
$this
->assertEqual($command
->render(), $expected, 'RedirectCommand::render() with the expected command array.');
}