@Test
void logContext() {

    var actionLog = new ActionLog(null, null);
    shutdownHook.logContext(actionLog);
    assertThat(actionLog.action).isEqualTo("app:stop");
    assertThat(actionLog.context).containsKey("start_time");
    assertThat(actionLog.stats).containsKey("uptime");
}