We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f53ad commit cb26765Copy full SHA for cb26765
src/main/resources/META-INF/rewrite/junit5-assertions-to-assertj.yml
@@ -28,3 +28,9 @@ recipeList:
28
- org.openrewrite.java.testing.junitassertj.JUnitFailToAssertJFail
29
- org.openrewrite.java.UseStaticImport:
30
methodPattern: "org.assertj.core.api.Assertions *(..)"
31
+ - org.openrewrite.java.ChangeMethodTargetToStatic
32
+ methodPattern: "org.assertj.core.api.AssertionsForClassTypes.assertThat *(..)"
33
+ fullyQualifiedTargetTypeName: "org.assertj.core.api.Assertions.assertThat"
34
35
+ methodPattern: "org.assertj.core.api.AssertionsForInterfaceTypes.assertThat *(..)"
36
0 commit comments