@Test
public void isInternalServerError_GoogleJsonErrorWithStatusBadGatewayReturnTrue()
    throws IOException {

  IOException withJsonError =
      googleJsonResponseException(
          HttpStatusCodes.STATUS_CODE_BAD_GATEWAY, "Bad gateway", "Bad gateway", "Bad gateway");
  assertThat(errorExtractor.internalServerError(withJsonError)).isTrue();
}