GitStatus { public GitStatusResponse getSingleFileStatus(File repositoryPath, File path) throws JavaGitException, IOException { CheckUtilities.checkFileValidity(repositoryPath); IClient client = ClientManager.getInstance().getPreferredClient(); IGitStatus gitStatus = client.getGitStatusInstance(); return gitStatus.getSingleFileStatus(repositoryPath, null, path); }  GitStatusResponse status(File repositoryPath, GitStatusOptions options, List<File> paths); GitStatusResponse status(File repositoryPath, List<File> paths); GitStatusResponse status(File repositoryPath, GitStatusOptions options); GitStatusResponse status(File repositoryPath, GitStatusOptions options, File file); GitStatusResponse status(File repositoryPath); GitStatusResponse statusAll(File repositoryPath); GitStatusResponse getSingleFileStatus(File repositoryPath, File path); GitFileSystemObject.Status getFileStatus(File repositoryPath, File path);  }
@Test public void testSingelFileStatus() throws JavaGitException, IOException { File file = FileUtilities.createFile(repositoryDirectory, "single_file_test", "Test File1"); GitStatusResponse response = gitStatus.getSingleFileStatus(repositoryDirectory, file); assertEquals("File should be untracked.", 1, response.getUntrackedFilesSize()); }