Simplify AssertJ assertions on SequencedCollection
MSALSimplify AssertJ assertions on SequencedCollection by using dedicated assertion methods. For example, assertThat(sequencedCollection.getLast()) can be simplified to assertThat(sequencedCollection).last().
org. openrewrite. java. testing. assertj. SimplifySequencedCollectionAssertionsmod run . --recipe= org. openrewrite. java. testing. assertj. SimplifySequencedCollectionAssertionsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.