A mock version of redis for unit testing code that uses the publish/subscribe/psubscribe  features