function assertValidFormat(format) {
  const url = TrustedResourceUrl.format(format, {});
  assertEquals(Const.unwrap(format), TrustedResourceUrl.unwrap(url));
}
Asserts that format with no arguments is allowed and results in a URL
with itself.
@param {!Const} format