function assertParseFails(parser, text, options) {
  const date = new Date(0);

  assertEquals(0, parser.parse(text, date, options));
}
Asserts that parsing of `text` fails.
@param {!DateTimeParse} parser
@param {string} text
@param {!DateTimeParse.ParseOptions=} options