@Test
public void testGetSessionKey() {

  RedisFacade facade = mock(RedisFacade.class);
  try (RedisSessionRepository rsr = new RedisSessionRepository(facade, "myapp", "localhost", ExpirationStrategy.ZRANGE, false)) {
    assertEquals("com.amadeus.session::myapp:{test}", encode(rsr.getSessionKey(encode("test"))));
  }
}