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

  doThrow(new ConnectionException("")).when(client).dbsize();
  cache.size();
}