### Question:
GlossaryTermResponse extends FFDCResponseBase { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof GlossaryTermResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } GlossaryTermResponse that = (GlossaryTermResponse) objectToCompare; return Objects.equals(getGlossaryTerm(), that.getGlossaryTerm()); } GlossaryTermResponse();  GlossaryTermResponse(GlossaryTermResponse template); GlossaryTerm getGlossaryTerm(); void setGlossaryTerm(GlossaryTerm glossaryTerm); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testExceptionProperties() { Map<String, Object> propertyMap; GlossaryTermResponse testObject = new GlossaryTermResponse(); assertTrue(testObject.getExceptionProperties() == null); propertyMap = null; testObject = new GlossaryTermResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap = new HashMap<>(); testObject = new GlossaryTermResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new GlossaryTermResponse(); testObject.setExceptionProperties(propertyMap); Map<String, Object> retrievedPropertyMap = testObject.getExceptionProperties(); assertTrue(retrievedPropertyMap != null); assertFalse(retrievedPropertyMap.isEmpty()); assertTrue("propertyValue".equals(retrievedPropertyMap.get("propertyName"))); }
@Test public void testEquals() { assertFalse(getTestObject().equals(null)); assertFalse(getTestObject().equals("DummyString")); assertTrue(getTestObject().equals(getTestObject())); GlossaryTermResponse sameObject = getTestObject(); assertTrue(sameObject.equals(sameObject)); GlossaryTermResponse differentObject = getTestObject(); differentObject.setExceptionErrorMessage("Different"); assertFalse(getTestObject().equals(differentObject)); }