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