@Test
public void notFoundResponseIsNotPermissionDenied() {

  assertThat(GcpUtil.isPermissionDenied(new GoogleJsonResponseException(
      new HttpResponseException.Builder(404, "Not Found", new HttpHeaders()), new GoogleJsonError())), is(false));
  assertThat(GcpUtil.isPermissionDenied(new GoogleJsonResponseException(
      new HttpResponseException.Builder(404, "Not Found", new HttpHeaders()), null)), is(false));
}