ClusterRequest { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{" + " clusterName=").append(clusterName) .append(", clusterId=").append(clusterId) .append(", provisioningState=").append(provisioningState) .append(", securityType=").append(securityType) .append(", stackVersion=").append(stackVersion) .append(", desired_scv=").append(serviceConfigVersionRequest) .append(", hosts=["); if (hostNames != null) { int i = 0; for (String hostName : hostNames) { if (i != 0) { sb.append(","); } ++i; sb.append(hostName); } } sb.append("] }"); return sb.toString(); } ClusterRequest(Long clusterId, String clusterName,
      String stackVersion, Set<String> hostNames);  ClusterRequest(Long clusterId, String clusterName,
      String provisioningState, SecurityType securityType, String stackVersion, Set<String> hostNames);  ClusterRequest(Long clusterId, String clusterName,
                        String provisioningState, SecurityType securityType, String stackVersion,
                        Set<String> hostNames, Map<String, Object> sessionAttributes); Long getClusterId(); String getClusterName(); String getProvisioningState(); void setProvisioningState(String provisioningState); SecurityType getSecurityType(); void setSecurityType(SecurityType securityType); String getStackVersion(); void setClusterId(Long clusterId); void setClusterName(String clusterName); void setStackVersion(String stackVersion); Set<String> getHostNames(); void setHostNames(Set<String> hostNames); void setDesiredConfig(List<ConfigurationRequest> configRequests); List<ConfigurationRequest> getDesiredConfig(); @Override String toString(); ServiceConfigVersionRequest getServiceConfigVersionRequest(); Map<String, Object> getSessionAttributes(); void setServiceConfigVersionRequest(ServiceConfigVersionRequest serviceConfigVersionRequest); void setRepositoryVersion(String version); String getRepositoryVersion();  }
@Test public void testToString() { ClusterRequest r1 = new ClusterRequest(null, null, null, null, null, null); r1.toString(); }