@Test
public void singleReadSucceedsWithValidObjectChecksum() throws Exception {

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