@Test
void submit() throws ExecutionException, InterruptedException {

    ActionLog parentAction = logManager.begin("begin", null);
    parentAction.action("parentAction");
    parentAction.trace = true;
    parentAction.correlationIds = List.of("correlationId");
    Future<Boolean> future = executor.submit("action", () -> {
        ActionLog actionLog = LogManager.CURRENT_ACTION_LOG.get();
        assertThat(actionLog.action).isEqualTo("parentAction:action");
        assertThat(actionLog.trace).isTrue();
        assertThat(actionLog.correlationIds).containsExactly("correlationId");
        return Boolean.TRUE;
    });
    assertThat(future.get()).isEqualTo(true);
    logManager.end("end");
}