### Question:
BooleanResponse extends FFDCResponseBase { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof BooleanResponse)) { return false; } if (!super.equals(objectToCompare)) { return false; } BooleanResponse that = (BooleanResponse) objectToCompare; return isFlag() == that.isFlag(); } BooleanResponse();  BooleanResponse(BooleanResponse template); boolean isFlag(); void setFlag(boolean flag); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testExceptionProperties() { Map<String, Object> propertyMap; BooleanResponse testObject = new BooleanResponse(); assertTrue(testObject.getExceptionProperties() == null); propertyMap = null; testObject = new BooleanResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap = new HashMap<>(); testObject = new BooleanResponse(); testObject.setExceptionProperties(propertyMap); assertTrue(testObject.getExceptionProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new BooleanResponse(); 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())); BooleanResponse sameObject = getTestObject(); assertTrue(sameObject.equals(sameObject)); BooleanResponse differentObject = getTestObject(); differentObject.setExceptionErrorMessage("Different"); assertFalse(getTestObject().equals(differentObject)); }