@Test
public void preconditionNotMet_GoogleJsonErrorHttpStatusPreconditionFailedTrue()
    throws IOException {

  IOException withJsonError =
      googleJsonResponseException(
          HttpStatusCodes.STATUS_CODE_PRECONDITION_FAILED,
          "preconditionNotMet",
          "Precondition not met",
          "Precondition not met");
  assertThat(errorExtractor.preconditionNotMet(withJsonError)).isTrue();
}