@Test public void testGetTimeFormatterWithoutFormatConfiguredIsEmpty() { Map<String, String> options = ImmutableMap.of("time_zone", "Europe/Stockholm"); Slf4jAuditLoggerConfig auditConfig = new Slf4jAuditLoggerConfig(options); Optional<DateTimeFormatter> timeFormatter = auditConfig.getTimeFormatter(); assertThat(timeFormatter).isEmpty(); }
Optional<DateTimeFormatter> getTimeFormatter() { return Optional.ofNullable(timeFormatter); }
Slf4jAuditLoggerConfig { Optional<DateTimeFormatter> getTimeFormatter() { return Optional.ofNullable(timeFormatter); } }
Slf4jAuditLoggerConfig { Optional<DateTimeFormatter> getTimeFormatter() { return Optional.ofNullable(timeFormatter); } Slf4jAuditLoggerConfig(Map<String, String> parameters); }
Slf4jAuditLoggerConfig { Optional<DateTimeFormatter> getTimeFormatter() { return Optional.ofNullable(timeFormatter); } Slf4jAuditLoggerConfig(Map<String, String> parameters);  }
Slf4jAuditLoggerConfig { Optional<DateTimeFormatter> getTimeFormatter() { return Optional.ofNullable(timeFormatter); } Slf4jAuditLoggerConfig(Map<String, String> parameters);   }