@Test
void postProcess() {

    when(session.noGoodIndexUsed()).thenReturn(Boolean.TRUE);
    Database.suppressSlowSQLWarning(true);
    interceptor.postProcess(() -> "sql", null, null, session);
    Database.suppressSlowSQLWarning(false);
    assertThat(actionLog.errorCode()).isNull();
    interceptor.postProcess(() -> "sql", null, null, session);
    assertThat(actionLog.errorCode()).isEqualTo("SLOW_SQL");
}