@Test(expected = RedisCacheException.class)
public void getThrowIOException() throws ConnectionException, IOException {

  int key = 3;
  doThrow(new IOException("")).when(client).get(serializer.serialize(key));
  cache.get(key);
}