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

  doThrow(new ConnectionException("")).when(client).set((byte[]) any(), (byte[]) any());
  cache.put(3, 3);
}