testEscapeForStringInScript() {
    /** @suppress {visibility} suppression added to enable type checking */
    const actual = ChannelRequest.escapeForStringInScript_('"\'<>');
    assertEquals('\\"\\\'\\x3c\\x3e', actual);
  }
This is a private method but we rely on it to avoid XSS, so it's important
to verify it works properly.