StackServiceResponse { public Map<String, String> getServiceProperties() { return serviceProperties; } StackServiceResponse(ServiceInfo service); ServiceInfo.Selection getSelection(); void setSelection(ServiceInfo.Selection selection); String getStackName(); void setStackName(String stackName); String getStackVersion(); void setStackVersion(String stackVersion); String getServiceName(); void setServiceName(String serviceName); String getServiceType(); void setServiceType(String serviceType); String getServiceDisplayName(); void setServiceDisplayName(String serviceDisplayName); String getUserName(); void setUserName(String userName); String getComments(); void setComments(String comments); String getServiceVersion(); void setServiceVersion(String serviceVersion); Map<String, Map<String, Map<String, String>>> getConfigTypes(); Set<String> getExcludedConfigTypes(); List<String> getRequiredServices(); void setRequiredServices(List<String> requiredServices); File getKerberosDescriptorFile(); void setKerberosDescriptorFile(File kerberosDescriptorFile); boolean isServiceCheckSupported(); List<String> getCustomCommands(); Map<String, String> getServiceProperties(); boolean isCredentialStoreSupported(); void setCredentialStoreSupported(boolean credentialStoreSupported); boolean isCredentialStoreEnabled(); void setCredentialStoreEnabled(boolean credentialStoreEnabled); boolean isCredentialStoreRequired(); void setCredentialStoreRequired(boolean credentialStoreRequired);  }
@Test public void testDefaultServiceVisibilityProperties() { StackServiceResponse stackServiceResponse = new StackServiceResponse(serviceInfo); assertTrue("true".equals(stackServiceResponse.getServiceProperties().get(ServiceInfo.DEFAULT_SERVICE_INSTALLABLE_PROPERTY.getKey()))); assertTrue("true".equals(stackServiceResponse.getServiceProperties().get(ServiceInfo.DEFAULT_SERVICE_MANAGED_PROPERTY.getKey()))); assertTrue("true".equals(stackServiceResponse.getServiceProperties().get(ServiceInfo.DEFAULT_SERVICE_MONITORED_PROPERTY.getKey()))); }