@Test public void testExceptionProperties() { Map<String, Object> propertyMap; ValidValuesResponse testObject = new ValidValuesResponse(); assertTrue(testObject.getExceptionProperties() == null); propertyMap = null; testObject = new ValidValuesResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap = new HashMap<>(); testObject = new ValidValuesResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new ValidValuesResponse(); testObject.setExceptionProperties(propertyMap); Map<String, Object> retrievedPropertyMap = testObject.getExceptionProperties(); assertTrue(retrievedPropertyMap != null); assertFalse(retrievedPropertyMap.isEmpty()); assertTrue("propertyValue".equals(retrievedPropertyMap.get("propertyName"))); }
@Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } ValidValuesResponse that = (ValidValuesResponse) objectToCompare; return Objects.equals(getValidValues(), that.getValidValues()); }
ValidValuesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } ValidValuesResponse that = (ValidValuesResponse) objectToCompare; return Objects.equals(getValidValues(), that.getValidValues()); } }
ValidValuesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } ValidValuesResponse that = (ValidValuesResponse) objectToCompare; return Objects.equals(getValidValues(), that.getValidValues()); } ValidValuesResponse();  ValidValuesResponse(ValidValuesResponse template); }
ValidValuesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } ValidValuesResponse that = (ValidValuesResponse) objectToCompare; return Objects.equals(getValidValues(), that.getValidValues()); } ValidValuesResponse();  ValidValuesResponse(ValidValuesResponse template); List<ValidValue> getValidValues(); void setValidValues(List<ValidValue> validValues); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
ValidValuesResponse extends PagedResponse { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } ValidValuesResponse that = (ValidValuesResponse) objectToCompare; return Objects.equals(getValidValues(), that.getValidValues()); } ValidValuesResponse();  ValidValuesResponse(ValidValuesResponse template); List<ValidValue> getValidValues(); void setValidValues(List<ValidValue> validValues); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }