Refaster template AssertJRules.AssertThatRejects
Apache 2.0Prefer assertThat(predicate).rejects(object) over less explicit alternatives.
tech. picnic. errorprone. refasterrules. AssertJRulesRecipes$AssertThatRejectsRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. AssertJRulesRecipes$AssertThatRejectsRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.