@Test public void testMissingReturn() throws IOException { MinionKeysOnMasterResponse response = JsonUtil.readValue(MISSING_RETURN, MinionKeysOnMasterResponse.class); List<String> rejectedMinions = response.getRejectedMinions(); assertNotNull(rejectedMinions); assertTrue(rejectedMinions.isEmpty()); }
public List<String> getRejectedMinions() { return getMinionsByState("minions_rejected"); }
MinionKeysOnMasterResponse { public List<String> getRejectedMinions() { return getMinionsByState("minions_rejected"); } }
MinionKeysOnMasterResponse { public List<String> getRejectedMinions() { return getMinionsByState("minions_rejected"); }  }
MinionKeysOnMasterResponse { public List<String> getRejectedMinions() { return getMinionsByState("minions_rejected"); }  List<String> getUnacceptedMinions(); List<String> getAcceptedMinions(); List<String> getDeniedMinions(); List<String> getRejectedMinions(); List<String> getAllMinions(); List<Map<String, JsonNode>> getResult(); void setResult(List<Map<String, JsonNode>> result); @Override String toString(); }
MinionKeysOnMasterResponse { public List<String> getRejectedMinions() { return getMinionsByState("minions_rejected"); }  List<String> getUnacceptedMinions(); List<String> getAcceptedMinions(); List<String> getDeniedMinions(); List<String> getRejectedMinions(); List<String> getAllMinions(); List<Map<String, JsonNode>> getResult(); void setResult(List<Map<String, JsonNode>> result); @Override String toString();  }