public static EcsInputFile fromLocation(String location, S3Client client) {
    return new EcsInputFile(
        client, new EcsURI(location), new DellProperties(), MetricsContext.nullMetrics());
  }
@Test
  public void testAbsentFile() {
    String objectName = rule.randomObjectName();
    EcsInputFile inputFile =
        EcsInputFile.fromLocation(new EcsURI(rule.bucket(), objectName).toString(), rule.client());
    assertThat(inputFile.exists()).as("File is absent").isFalse();
  }