rewrite-testing-frameworks icon indicating copy to clipboard operation
rewrite-testing-frameworks copied to clipboard

Convert AssertJ's `assertThat(String).isEqualTo("")` to `isEmpty()`

Open timtebeek opened this issue 1 year ago • 0 comments

What problem are you trying to solve?

Use most expressive AssertJ assertions instead of sub optimal patterns seen in the wild.

Additional context

Separate from the following issue which migrates, this can instead go into recipes that fit our best practices.

  • https://github.com/openrewrite/rewrite-testing-frameworks/issues/357

timtebeek avatar May 02 '24 07:05 timtebeek