@Test
public void partialReadSucceedsWithInvalidObjectChecksum() throws Exception {

  fakeService.setObject(
      DEFAULT_OBJECT.toBuilder().setCrc32C(UInt32Value.newBuilder().setValue(0)).build());
  GoogleCloudStorageReadOptions options =
      GoogleCloudStorageReadOptions.builder().setGrpcChecksumsEnabled(true).build();
  GoogleCloudStorageGrpcReadChannel readChannel = newReadChannel(options);
  ByteBuffer buffer = ByteBuffer.allocate(OBJECT_SIZE - 10);
  readChannel.read(buffer);
  assertArrayEquals(
      fakeService.data.substring(0, OBJECT_SIZE - 10).toByteArray(), buffer.array());
}