@Override
  public void deleteFile(String path) {
    OSSURI location = new OSSURI(path);
    client().deleteObject(location.bucket(), location.key());
  }
@Test
  public void testDeleteFile() throws IOException {
    String location = randomLocation();
    int dataSize = 1024 * 10;
    byte[] data = randomData(dataSize);
    OutputFile out = fileIO().newOutputFile(location);
    writeOSSData(out, data);

    InputFile in = fileIO().newInputFile(location);
    assertThat(in.exists()).as("OSS file should exist").isTrue();

    fileIO().deleteFile(in);
    assertThat(fileIO().newInputFile(location).exists()).as("OSS file should not exist").isFalse();
  }