### Question:
DiscoveryInfo { @SuppressWarnings("squid:S00107") public DiscoveryInfo(String hostName, Boolean secure, String serviceName, Integer port, String serviceType, String serviceTitle, Boolean enableApiDoc, String description ) { this.hostName = hostName; this.secure = secure; this.serviceName = serviceName; this.port = port; this.serviceType = serviceType; this.serviceTitle = serviceTitle; this.enableApiDoc = enableApiDoc; this.description = description; } @SuppressWarnings("squid:S00107")  DiscoveryInfo(String hostName, Boolean secure, String serviceName,
                         Integer port, String serviceType, String serviceTitle,
                         Boolean enableApiDoc, String description
                         ); String getHostName(); Boolean getSecure(); String getServiceName(); Integer getPort(); String getServiceType(); String getServiceTitle(); Boolean getEnableApiDoc(); String getDescription();  }### Answer:
@Test public void discoveryInfoTest() throws Exception { final String hostName = "hostName"; final Boolean secure = true; final String serviceName = "serviceName"; final Integer port = 8080; final String serviceType = "serviceType"; final String serviceTitle = "serviceTitle"; final Boolean enableApiDoc = true; final String description = "description"; DiscoveryInfo discoveryInfo = new DiscoveryInfo(hostName, secure, serviceName, port, serviceType, serviceTitle, enableApiDoc, description); assertEquals(discoveryInfo.getHostName(), hostName); assertEquals(discoveryInfo.getSecure(), secure); assertEquals(discoveryInfo.getServiceName(), serviceName); assertEquals(discoveryInfo.getPort(), port); assertEquals(discoveryInfo.getServiceType(), serviceType); assertEquals(discoveryInfo.getServiceTitle(), serviceTitle); assertEquals(discoveryInfo.getEnableApiDoc(), enableApiDoc); assertEquals(discoveryInfo.getDescription(), description); }