@Test
public void shouldRetryIOException() throws IOException {

  response.setStatusCode(200);
  doThrow(new IOException()).doCallRealMethod().when(request).execute();
  GoogleApiClientUtil.executeWithRetries(request, WaitStrategies.noWait(), StopStrategies.stopAfterAttempt(3));
  verify(request, times(2)).execute();
}