### Question:
ClusterResponse { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{ clusterName=").append(clusterName) .append(", clusterId=").append(clusterId) .append(", provisioningState=").append(provisioningState) .append(", desiredStackVersion=").append(desiredStackVersion) .append(", totalHosts=").append(totalHosts) .append(", hosts=["); if (hostNames != null) { int i = 0; for (String hostName : hostNames) { if (i != 0) { sb.append(","); } ++i; sb.append(hostName); } } sb.append("], clusterHealthReport= ").append(clusterHealthReport).append("}"); return sb.toString(); } ClusterResponse(long clusterId, String clusterName,
                         State provisioningState, SecurityType securityType, Set<String> hostNames, int totalHosts,
                         String desiredStackVersion, ClusterHealthReport clusterHealthReport); @ApiModelProperty(name = ClusterResourceProvider.CLUSTER_ID) long getClusterId(); @ApiModelProperty(name = ClusterResourceProvider.CLUSTER_NAME) String getClusterName(); @ApiModelProperty(name = ClusterResourceProvider.PROVISIONING_STATE) State getProvisioningState(); @ApiModelProperty(name = ClusterResourceProvider.SECURITY_TYPE) SecurityType getSecurityType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); @ApiModelProperty(name = ClusterResourceProvider.VERSION) String getDesiredStackVersion(); void setDesiredConfigs(Map<String, DesiredConfig> configs); @ApiModelProperty(name = ClusterResourceProvider.DESIRED_CONFIGS) Map<String, DesiredConfig> getDesiredConfigs(); @ApiModelProperty(name = ClusterResourceProvider.TOTAL_HOSTS) int getTotalHosts(); @ApiModelProperty(name = ClusterResourceProvider.HEALTH_REPORT) ClusterHealthReport getClusterHealthReport(); @ApiModelProperty(name = ClusterResourceProvider.DESIRED_SERVICE_CONFIG_VERSIONS) Map<String, Collection<ServiceConfigVersionResponse>> getDesiredServiceConfigVersions(); void setDesiredServiceConfigVersions(Map<String, Collection<ServiceConfigVersionResponse>> desiredServiceConfigVersions); void setCredentialStoreServiceProperties(Map<String, String> credentialServiceProperties); @ApiModelProperty(name = ClusterResourceProvider.CREDENTIAL_STORE_PROPERTIES) Map<String, String> getCredentialStoreServiceProperties();  }### Answer:
@Test public void testToString() { ClusterResponse r = new ClusterResponse(0, null, null, null, null, 0, null, null); r.toString(); }