@Test
public void readSingleChunkSucceeds() throws Exception {

  fakeService.setObject(DEFAULT_OBJECT.toBuilder().setSize(100).build());
  GoogleCloudStorageGrpcReadChannel readChannel = newReadChannel();
  ByteBuffer buffer = ByteBuffer.allocate(100);
  readChannel.read(buffer);
  verify(fakeService, times(1)).getObject(eq(GET_OBJECT_REQUEST), any());
  verify(fakeService, times(1)).getObjectMedia(eq(GET_OBJECT_MEDIA_REQUEST), any());
  assertArrayEquals(fakeService.data.substring(0, 100).toByteArray(), buffer.array());
}