GoogleCloudStorageGrpcReadChannel implements SeekableByteChannel { @Override public boolean isOpen() { return channelIsOpen; } private  GoogleCloudStorageGrpcReadChannel(
      StorageBlockingStub gcsGrpcBlockingStub,
      String bucketName,
      String objectName,
      long objectGeneration,
      long objectSize,
      GoogleCloudStorageReadOptions readOptions); static GoogleCloudStorageGrpcReadChannel open(
      StorageBlockingStub stub,
      String bucketName,
      String objectName,
      GoogleCloudStorageReadOptions readOptions); @Override int read(ByteBuffer byteBuffer); @Override int write(ByteBuffer byteBuffer); @Override long position(); @Override SeekableByteChannel position(long newPosition); @Override long size(); @Override SeekableByteChannel truncate(long l); @Override boolean isOpen(); @Override void close(); @Override String toString();  }
@Test public void isOpenReturnsTrueOnCreate() throws Exception { GoogleCloudStorageGrpcReadChannel readChannel = newReadChannel(); assertTrue(readChannel.isOpen()); }