### Question:
ResponseProcessingDetails { @Override public String toString() { final StringBuilder sb = new StringBuilder("ResponseProcessingDetails{"); sb.append("sessionId=").append(sessionId); sb.append(", responseProcessingStatus=").append(responseProcessingStatus); sb.append(", transactionEntityId='").append(transactionEntityId).append('\''); sb.append('}'); return sb.toString(); } @SuppressWarnings("unused")//Needed by JAXB private  ResponseProcessingDetails();  ResponseProcessingDetails(
            SessionId sessionId,
            ResponseProcessingStatus responseProcessingStatus,
            String transactionEntityId); SessionId getSessionId(); ResponseProcessingStatus getResponseProcessingStatus(); String getTransactionEntityId(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testToString() { final StringBuilder sb = new StringBuilder("ResponseProcessingDetails{"); sb.append("sessionId=").append(responseProcessingDetails.getSessionId()); sb.append(", responseProcessingStatus=").append(responseProcessingDetails.getResponseProcessingStatus()); sb.append(", transactionEntityId='").append(responseProcessingDetails.getTransactionEntityId()).append('\''); sb.append('}'); assertThat(responseProcessingDetails.toString()).isEqualTo(sb.toString()); }