### Question:
UriInfo { public void setHttpUri(String httpUri) { m_httpUri = httpUri; }  @JsonProperty("http") String getHttpUri(); void setHttpUri(String httpUri); void setHttpsUri(String httpsUri); void setHttpsPropertyValue(String m_httpsPropertyValue); void setHttpsProperty(String m_httpsProperty); @JsonProperty("default_port") Number getDefaultPort(); @JsonProperty("https") String getHttpsUri(); @JsonProperty("https_property") String getHttpsProperty(); @JsonProperty("https_property_value") String getHttpsPropertyValue(); @JsonProperty("kerberos_keytab") String getKerberosKeytab(); @JsonProperty("kerberos_principal") String getKerberosPrincipal(); @JsonProperty("high_availability") HighAvailability getHighAvailability(); Set<Integer> getAcceptableCodes(); void setAcceptableCodes(Set<Integer> m_acceptableCodes); URI resolve(Map<String, Map<String, String>> config); int getConnectionTimeoutMsec(); int getReadTimeoutMsec(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testChoosesHttpByDefault() throws Exception { UriInfo uri = new UriInfo(); uri.setHttpUri("${config1/http-host}/path"); assertThat(resolved(uri), is("http: }