@Test
public void positionFailsOnClosedChannel() throws Exception {

  GoogleCloudStorageGrpcReadChannel readChannel = newReadChannel();
  readChannel.close();
  assertThrows(ClosedChannelException.class, readChannel::position);
}