FileSystems { public static FileSystem newFileSystem(final URI uri, final Map<String, ?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, IOException, SecurityException { checkNotNull("uri", uri); checkNotNull("env", env); return newFileSystem(uri, env, null); } private  FileSystems(); static FileSystem getDefault(); static FileSystem getFileSystem(final URI uri); static FileSystem newFileSystem(final URI uri,
                                           final Map<String, ?> env); static FileSystem newFileSystem(final Path path,
                                           final ClassLoader loader); static FileSystem newFileSystem(final URI uri,
                                           final Map<String, ?> env,
                                           final ClassLoader loader);  }
@Test public void newFileSystemNull1() { assertThatThrownBy(() -> FileSystems.newFileSystem(null, Collections.emptyMap())) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'uri' should be not null!"); }
@Test public void newFileSystemNull2() { assertThatThrownBy(() -> FileSystems.newFileSystem(URI.create("jgit: .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'env' should be not null!"); }
@Test public void newFileSystemNull3() { assertThatThrownBy(() -> FileSystems.newFileSystem((URI) null, null)) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'uri' should be not null!"); }
@Test public void newFileSystemNull4() { assertThatThrownBy(() -> FileSystems.newFileSystem((Path) null, null)) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'path' should be not null!"); }
@Test public void newFileSystemNull5() { assertThatThrownBy(() -> FileSystems.newFileSystem(URI.create("jgit: .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'env' should be not null!"); }
@Test public void newFileSystemNull6() { assertThatThrownBy(() -> FileSystems.newFileSystem(null, null, null)) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'uri' should be not null!"); }