Tests that SetDialogTitleCommand objects can be constructed and rendered.
function testSetDialogTitleCommand() {
  $command = new SetDialogTitleCommand('#some-dialog', 'Example');
  $expected = array(
    'command' => 'setDialogOption',
    'selector' => '#some-dialog',
    'optionName' => 'title',
    'optionValue' => 'Example',
  );
  $this
    ->assertEqual($command
    ->render(), $expected, 'SetDialogTitleCommand::render() with a selector returns a proper array.');
}