Tests that CloseModalDialogCommand objects can be constructed and rendered.
function testCloseModalDialogCommand() {
$command = new CloseModalDialogCommand();
$expected = array(
'command' => 'closeDialog',
'selector' => '#drupal-modal',
);
$this
->assertEqual($command
->render(), $expected, 'CloseModalDialogCommand::render() returns a proper array.');
}