### Question:
AuthScope { public String getHost() { return this.host; } AuthScope(
            final String protocol,
            final String host,
            final int port,
            final String realm,
            final String schemeName);  AuthScope(
            final HttpHost origin,
            final String realm,
            final String schemeName);  AuthScope(final HttpHost origin);  AuthScope(final String host, final int port);  AuthScope(final AuthScope authScope); String getProtocol(); String getHost(); int getPort(); String getRealm(); String getSchemeName(); int match(final AuthScope that); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testByOriginMixedCaseHostname() throws Exception { final HttpHost host = new HttpHost("http", "SomeHost", 8080); final AuthScope authscope = new AuthScope(host); Assert.assertEquals("somehost", authscope.getHost()); }