fsProvider.isSameFile( null, path );
}
@Test
public void checkCopyDir() {
final SimpleFileSystemProvider fsProvider = new SimpleFileSystemProvider();
final String userSourcePath = System.getProperty( "user.dir" ) + "/temp";
final String userDestPath = System.getProperty( "user.dir" ) + "/temp2";
final Path source = GeneralPathImpl.create( fsProvider.getFileSystem( URI.create( "file:///" ) ), userSourcePath, false );
final Path dest = GeneralPathImpl.create( fsProvider.getFileSystem( URI.create( "file:///" ) ), userDestPath, false );
fsProvider.createDirectory( source );
fsProvider.copy( source, dest );
assertThat( dest.toFile().exists() ).isTrue();
assertThat( source.toFile().exists() ).isTrue();
source.toFile().delete();