@Test
public void branchChangedFiles_should_throw_when_repo_nonexistent() throws IOException {

  thrown.expect(MessageException.class);
  thrown.expectMessage("Not inside a Git work tree: ");
  newScmProvider().branchChangedFiles("master", temp.newFolder().toPath());
}