### Question:
S3FileSystemProvider implements FileSystemProvider { @Override public boolean supportsPath(@Nonnull final Path path) { final URI uri = path.toUri(); return (uri.getScheme() != null && (uri.getScheme().startsWith("s3") || uri.getScheme().startsWith("S3")) && path.toUri().getHost() == null); }  @Nonnull @Override List<DataSetFile> listFiles(@Nonnull final Path path, @Nonnull final Configuration conf); @Override boolean supportsPath(@Nonnull final Path path);  }### Answer:
@Test public void supportsPath() { final S3FileSystemProvider provider = new S3FileSystemProvider(); Assert.assertTrue("Expected to use provider for s3: Assert.assertTrue("Expected to use provider for s3a: Assert.assertTrue("Expected to use provider for s3n: Assert.assertFalse("Expected to use Hadoop for s3n: }
@Test public void supportsPath() { final S3FileSystemProvider provider = new S3FileSystemProvider(); Assert.assertTrue("Expected to use provider for s3: Assert.assertTrue("Expected to use provider for s3n: Assert.assertFalse("Expected to use Hadoop for s3n: }