@Test
public void testSingleRedisFacadeWithPort() {

  JedisSessionRepositoryFactory factory = spy(new JedisSessionRepositoryFactory());
  SessionConfiguration sessionConfig = spy(new SessionConfiguration());
  RedisConfiguration config = spy(new RedisConfiguration(sessionConfig));
  config.server = "1.2.3.4:1";
  config.clusterMode = "SINGLE";
  RedisFacade facade = factory.getRedisFacade(config);
  assertThat(facade, instanceOf(JedisPoolFacade.class));
}