expect(utils.parseAtmosErrorFromContent(command, response, content)).andReturn(new AtmosError(1040, "The server is busy. Please try again")).once();
expect(backoffLimitedRetryHandler.shouldRetryRequest(command, response)).andReturn(true).once();
replay(utils, backoffLimitedRetryHandler, command);
AtmosServerErrorRetryHandler retry = new AtmosServerErrorRetryHandler(backoffLimitedRetryHandler, utils);
assertTrue(retry.shouldRetryRequest(command, response));
verify(utils, backoffLimitedRetryHandler, command);
}