public void testUsingProvidedPath() throws IOException {
final File dir = createTempDirectory();
System.setProperty("org.uberfire.nio.git.dir", dir.toString());
final JGitFileSystemProvider provider = new JGitFileSystemProvider();
final URI newRepo = URI.create("git://repo-name");
provider.newFileSystem(newRepo, EMPTY_ENV);
final String[] names = dir.list();
assertThat(names).isNotEmpty().contains(".niogit");