@Test public void testExceptionProperties() { Map<String, Object> propertyMap; ReferenceablesResponse testObject = new ReferenceablesResponse(); assertTrue(testObject.getExceptionProperties() == null); propertyMap = null; testObject = new ReferenceablesResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap = new HashMap<>(); testObject = new ReferenceablesResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new ReferenceablesResponse(); 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; } ReferenceablesResponse that = (ReferenceablesResponse) objectToCompare; return Objects.equals(getReferenceables(), that.getReferenceables()); }
ReferenceablesResponse 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; } ReferenceablesResponse that = (ReferenceablesResponse) objectToCompare; return Objects.equals(getReferenceables(), that.getReferenceables()); } }
ReferenceablesResponse 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; } ReferenceablesResponse that = (ReferenceablesResponse) objectToCompare; return Objects.equals(getReferenceables(), that.getReferenceables()); } ReferenceablesResponse();  ReferenceablesResponse(ReferenceablesResponse template); }
ReferenceablesResponse 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; } ReferenceablesResponse that = (ReferenceablesResponse) objectToCompare; return Objects.equals(getReferenceables(), that.getReferenceables()); } ReferenceablesResponse();  ReferenceablesResponse(ReferenceablesResponse template); List<Referenceable> getReferenceables(); void setReferenceables(List<Referenceable> referenceables); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
ReferenceablesResponse 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; } ReferenceablesResponse that = (ReferenceablesResponse) objectToCompare; return Objects.equals(getReferenceables(), that.getReferenceables()); } ReferenceablesResponse();  ReferenceablesResponse(ReferenceablesResponse template); List<Referenceable> getReferenceables(); void setReferenceables(List<Referenceable> referenceables); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }