Prefer AbstractPathAssert#hasFileName(String) over more contrived alternatives

Apache 2.0

Warning: this rewrite changes the Path against which subsequent assertions are made.

tech.picnic.errorprone.refasterrules.AssertJPathRulesRecipes$AssertThatHasFileNameRecipe
mod run . --recipe='tech.picnic.errorprone.refasterrules.AssertJPathRulesRecipes$AssertThatHasFileNameRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.