@Test
public void testDynamicWithException() {

    Exception ex = new IllegalArgumentException();
    LoggingUtil.log(logger, LogLevel.DEBUG, TestFields.class, "log message {AAA} {BBB} {CCC}", ex, VALUES_FUNC);
    
    Object[] expectedArgs = Stream.concat(Arrays.stream(ARGS), Stream.of(ex)).toArray(Object[]::new);
    
    Mockito.verify(this.logger).debug("log message {} {} {}", expectedArgs);
}