assertSame(http, schmreg.getScheme("http"));
assertSame(http, schmreg.getScheme(host));
assertSame(https, schmreg.getScheme("https"));
assertSame(https, schmreg.getScheme(hosts));
schmreg.unregister("http");
schmreg.unregister("https");
assertNull(schmreg.get("http")); // get() does not throw exception
try {
schmreg.getScheme("http"); // getScheme() does throw exception