}
}
public void testGetSchemeInUrlFromSocketUrl() {
try {
Scheme scheme = new ResourceRuleUrlUtil().getSchemeInUrl(constructUrl(Scheme.SOCKET,
TEST_HOST, TEST_PORT));
assertTrue(scheme == Scheme.SOCKET);
} catch (ResourceUrlException e) {
fail("unexpected exception " + e.getMessage());
}