@Test
public void testMultipleException() {

    // given
    Exception exception = new Exception();
    // when
    Object[] args =
            RateLimitedLogger.newArgsWithCountSinceLastWarning(new Object[] {1, exception}, 0);
    // then
    assertThat(args).containsExactly(1, 0, exception);
}