@AfterClass public static void cleanUp() { ConnectionFactoryTracker.cleanUp(); }
public TemplateTest(ObjectFactory<Object> objFactory, RedisTemplate template) { this.objFactory = objFactory; this.template = template; ConnectionFactoryTracker.add(template.getConnectionFactory()); }