I'm writing a session store for tomcat in order to drain the inactive sessions into a redis server. I'm going to write the unit tests but I cannot figured out how to mock the calls to the redis server. Any suggestion?
Thanks a lot
Ps: I'm using Jedis as redis client