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

  doReturn("ADA").when(commandResult).getStatus();
  redisClient.ping();
}