src/test/java/com/upplication/s3fs/FileSystemProvider/CreateDirectoryTest.java
private S3FileSystem createNewS3FileSystem() throws IOException {
        try {
            return s3fsProvider.getFileSystem(S3EndpointConstant.S3_GLOBAL_URI_TEST);
        } catch (FileSystemNotFoundException e) {
            return (S3FileSystem) s3fsProvider.newFileSystem(S3EndpointConstant.S3_GLOBAL_URI_TEST, null);
        }
    }
/**
     * create a new file system for s3 scheme with fake credentials
     * and global endpoint
     *
     * @return FileSystem
     * @throws IOException
     */
create a new file system for s3 scheme with fake credentials
and global endpoint


create a new file system for s3 scheme with fake credentials and global endpoint
private S3FileSystem createNewS3FileSystem() throws IOException {
        try {
            return s3fsProvider.getFileSystem(S3EndpointConstant.S3_GLOBAL_URI_TEST);
        } catch (FileSystemNotFoundException e) {
            return (S3FileSystem) s3fsProvider.newFileSystem(S3EndpointConstant.S3_GLOBAL_URI_TEST, null);
        }
    }
private S3FileSystem createNewS3FileSystem ( ) throws IOException { try { return s3fsProvider . getFileSystem ( S3EndpointConstant . S3_GLOBAL_URI_TEST ) ; } catch ( FileSystemNotFoundException e ) { return ( S3FileSystem ) s3fsProvider . newFileSystem ( S3EndpointConstant . S3_GLOBAL_URI_TEST , null ) ; } }
create a new file system for s3 scheme with fake credentials
 and global endpoint
create a new file system for s3 scheme with fake credentials and global endpoint