### Question:
Icinga2RestCient { public WebTarget getTargetCheckResult() { if (icingaClient == null) { initIcingaClient(); } return icingaClient.target(properties.getApiURL()); }  @PostConstruct void initIcingaClient(); WebTarget getTargetCheckResult();  }### Answer:
@Test public void testGetTargetCheckResult() throws Exception { assertEquals(testling.getTargetCheckResult().getUri().toString(), "https: }