These should use assertEquals() rather than assertTrue, so that the JUnit report can include the expected and actual values during the test, rather than a vague message.

We probably also should test the full path, but that's liable to fail if we use a different resolve method here in the test than the repository used.  We can probably head that off by just using the canonical paths for compare.  So rewrite this method as:

  File exp = getFile(expected).getCanonicalFile();
  File act = repo.getDirectory().getCanonicalFile();
  assertEquals(exp, act);