@Test public void getBlameResultForFileWhenFileIsMissing() throws CommandException, NoSuchFileException { GitBlameCommand gitBlameCommand = new GitBlameCommand(); gitBlameCommand.commandDirectories = new CommandDirectories(getInputResourcesTestDir().getAbsolutePath()); gitBlameCommand.initGitRepository(); BlameResult blameResult = gitBlameCommand.gitRepository.getBlameResultForFile("forSomeMissingFile"); assertNull(blameResult); }
void initGitRepository() throws CommandException { gitRepository.init(commandDirectories.getSourceDirectoryPath().toString()); }
GitBlameCommand extends Command { void initGitRepository() throws CommandException { gitRepository.init(commandDirectories.getSourceDirectoryPath().toString()); } }
GitBlameCommand extends Command { void initGitRepository() throws CommandException { gitRepository.init(commandDirectories.getSourceDirectoryPath().toString()); }  }
GitBlameCommand extends Command { void initGitRepository() throws CommandException { gitRepository.init(commandDirectories.getSourceDirectoryPath().toString()); }  @Override void execute(); List<GitBlameWithUsage> getGitBlameWithUsagesToProcess(List<GitBlameWithUsage> gitBlameWithUsages); }
GitBlameCommand extends Command { void initGitRepository() throws CommandException { gitRepository.init(commandDirectories.getSourceDirectoryPath().toString()); }  @Override void execute(); List<GitBlameWithUsage> getGitBlameWithUsagesToProcess(List<GitBlameWithUsage> gitBlameWithUsages);  }