@Test
public void testConfigurePool() {

  SessionConfiguration sc = new SessionConfiguration();
  RedisConfiguration configuration = new RedisConfiguration(sc);
  configuration.poolSize = "500";
  JedisPoolConfig pool = JedisSessionRepositoryFactory.configurePool(configuration);
  assertEquals(500, pool.getMaxTotal());
}