@Test
public void shouldRetry429() throws IOException {

  when(response.getStatusCode()).thenReturn(429).thenReturn(200);
  GoogleApiClientUtil.executeWithRetries(request, WaitStrategies.noWait(), StopStrategies.stopAfterAttempt(3));
  verify(request, times(2)).execute();
}