    @Test
    public void testGetFullSessionId() {

        String routeHash = md5Hex("hubAddress".getBytes(StandardCharsets.UTF_8));
        String sessionId = randomUUID().toString();
        String expected = routeHash + sessionId;
        assertThat(getFullSessionId(sessionRequest(routeHash, sessionId, "")), is(equalTo(expected)));
        assertThat(getFullSessionId(sessionRequest(routeHash, sessionId, "sfgsds")), is(equalTo(expected)));
        assertThat(getFullSessionId(sessionRequest(routeHash, sessionId, "sfg/sds/")), is(equalTo(expected)));
        assertThat(getFullSessionId(sessionRequest(routeHash, sessionId, "sfg/sds/adfad")), is(equalTo(expected)));
    }