@Test
public void testGapsInArgsAbove32AreIgnored() {

  // 34 arguments with the 33rd argument unreferenced (leaving a gap).
  Object[] args = new Object[34];
  args[33] = "UNUSED";
  LogData data =
      FakeLogData.withPrintfStyle(
          "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s "
              + "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %34$s",
          new Object[34]);
  LogRecord record = SimpleLogRecord.create(data);
  assertThat(record.getMessage()).doesNotContain("UNUSED");
}