### Question:
ServiceConfigVersionResponse { @Override public final boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ServiceConfigVersionResponse)) return false; ServiceConfigVersionResponse that = (ServiceConfigVersionResponse) o; return new EqualsBuilder() .append(clusterName, that.clusterName) .append(serviceName, that.serviceName) .append(version, that.version) .append(createTime, that.createTime) .append(groupId, that.groupId) .append(groupName, that.groupName) .append(userName, that.userName) .append(note, that.note) .append(stackId, that.stackId) .append(isCurrent, that.isCurrent) .append(isCompatibleWithCurrentStack, that.isCompatibleWithCurrentStack) .append(configurations, that.configurations) .append(hosts, that.hosts) .isEquals(); } ServiceConfigVersionResponse(ServiceConfigEntity serviceConfigEntity,
      String configGroupName); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.SERVICE_NAME_PROPERTY_ID) String getServiceName(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.SERVICE_CONFIG_VERSION_PROPERTY_ID) Long getVersion(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.CREATE_TIME_PROPERTY_ID) Long getCreateTime(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.USER_PROPERTY_ID) String getUserName(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.CLUSTER_NAME_PROPERTY_ID) String getClusterName(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.CONFIGURATIONS_PROPERTY_ID) List<ConfigurationResponse> getConfigurations(); void setConfigurations(List<ConfigurationResponse> configurations); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.SERVICE_CONFIG_VERSION_NOTE_PROPERTY_ID) String getNote(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.HOSTS_PROPERTY_ID) List<String> getHosts(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.GROUP_NAME_PROPERTY_ID) String getGroupName(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.GROUP_ID_PROPERTY_ID) Long getGroupId(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.STACK_ID_PROPERTY_ID) String getStackId(); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.IS_CURRENT_PROPERTY_ID) Boolean getIsCurrent(); void setIsCurrent(Boolean isCurrent); @ApiModelProperty(name = ServiceConfigVersionResourceProvider.IS_COMPATIBLE_PROPERTY_ID) Boolean isCompatibleWithCurrentStack(); @Override final boolean equals(Object o); @Override final int hashCode(); static final String DEFAULT_CONFIG_GROUP_NAME; static final String DELETED_CONFIG_GROUP_NAME; }### Answer:
@Test public void testEquals() throws Exception { EqualsVerifier .forClass(ServiceConfigVersionResponse.class) .suppress(Warning.NONFINAL_FIELDS) .verify(); }