### Question:
LogLevel { public Level getLevel() { return level; } @JsonCreator  LogLevel(@JsonProperty("level") final String level); @JsonSetter("log_filter") void setLogFilter(final String[] logFilter); Level getLevel(); @JsonGetter("level") String getLevelAsString(); @JsonGetter("log_filter") Optional<String[]> getLogFilter();  }### Answer:
@Test public void shouldAcceptDebugLogLevelInUpperCase() { final LogLevel level = new LogLevel("INFO"); assertThat(level.getLevel()).isEqualTo(Level.INFO); }
@Test public void shouldAcceptDebugLogLevelInLowerCase() { final LogLevel level = new LogLevel("info"); assertThat(level.getLevel()).isEqualTo(Level.INFO); }