Prefer AbstractCollectionAssert#hasSameElementsAs(Iterable) over less explicit or more contrived alternatives

Apache 2.0

Warning: this rewrite changes behavior when iterable contains duplicates: AbstractCollectionAssert#containsExactlyInAnyOrderElementsOf(Iterable) is then guaranteed to fail, while AbstractCollectionAssert#hasSameElementsAs(Iterable) may not.

tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatHasSameElementsAsSetRecipe
mod run . --recipe='tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatHasSameElementsAsSetRecipe'

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