@Test
public void forkDate_should_not_fail_when_no_merge_base_is_found() throws IOException, GitAPIException {

  createAndCommitFile("file-m1.xoo", Instant.now().minus(8, ChronoUnit.DAYS));
  git.checkout().setOrphan(true).setName("b1").call();
  createAndCommitFile("file-b1.xoo");
  assertThat(newScmProvider().forkDate("master", worktree)).isNull();
}