This stack trace, and all the other ones like it in this file, will never get printed because the fail(String) method itself will cause an exception to be thrown.

Personally, I tend to just declare exceptions in the test method though I don't know what's the JGit convention here.