Simplify AssertJ assertions on SequencedCollection

MSAL

Simplify 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.SimplifySequencedCollectionAssertions
mod run . --recipe=org.openrewrite.java.testing.assertj.SimplifySequencedCollectionAssertions

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