@Test
public void relativePathFromScmRoot_should_return_filename_for_file_in_project_root() throws IOException {

  Path filename = Paths.get("somefile.xoo");
  Path path = worktree.resolve(filename);
  Files.createFile(path);
  assertThat(newGitScmProvider().relativePathFromScmRoot(path)).isEqualTo(filename);
}