@Test public void testEmptyList() throws IOException { MinionKeysOnMasterResponse response = JsonUtil.readValue(EMPTY_ARRAY, MinionKeysOnMasterResponse.class); List<String> acceptedMinions = response.getAcceptedMinions(); assertTrue(acceptedMinions.isEmpty()); }
public List<String> getAcceptedMinions() { return getMinionsByState("minions"); }
MinionKeysOnMasterResponse { public List<String> getAcceptedMinions() { return getMinionsByState("minions"); } }
MinionKeysOnMasterResponse { public List<String> getAcceptedMinions() { return getMinionsByState("minions"); }  }
MinionKeysOnMasterResponse { public List<String> getAcceptedMinions() { return getMinionsByState("minions"); }  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> getAcceptedMinions() { return getMinionsByState("minions"); }  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();  }