OSSInputFile(OSS client, OSSURI uri, AliyunProperties aliyunProperties, MetricsContext metrics) {
    super(client, uri, aliyunProperties, metrics);
  }
@Test
  public void testOSSInputFile() {
    OSSURI uri = randomURI();
    assertThatThrownBy(
            () ->
                new OSSInputFile(
                    ossClient().get(), uri, aliyunProperties, -1, MetricsContext.nullMetrics()))
        .isInstanceOf(ValidationException.class)
        .hasMessageContaining("Invalid file length");
  }