@Override
  public boolean supportsPath(String path) {
    return path != null
        && (path.startsWith(Constants.HEADER_S3A) || path.startsWith(Constants.HEADER_S3));
  }
@Test
  public void supportsPath() {
    assertTrue(mFactory1.supportsPath(mS3APath));
    assertTrue(mFactory1.supportsPath(mS3Path));
    assertFalse(mFactory1.supportsPath(mS3NPath));
    assertFalse(mFactory1.supportsPath(null));
    assertFalse(mFactory1.supportsPath("Invalid_Path"));
    assertFalse(mFactory1.supportsPath("hdfs://test-bucket/path"));
  }