### Question:
CliResult { public Optional<Config> getConfig() { return Optional.ofNullable(config); } CliResult(Integer status, boolean suppressStartup,Config config); Integer getStatus(); boolean isSuppressStartup(); Optional<Config> getConfig();  }### Answer:
@Test public void getConfig() { Config config = new Config(); CliResult result = new CliResult(1, false, config); assertThat(result.getConfig()).isNotEmpty(); assertThat(result.getConfig().get()).isEqualTo(config); }