From bcb4449f913f43ca2820ce18214d4399f7617833 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Thu, 14 Mar 2024 10:04:09 +0000 Subject: [PATCH] refactor: OpenRewrite best practices Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne --- .../java/testing/datafaker/JavaFakerToDataFakerTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/openrewrite/java/testing/datafaker/JavaFakerToDataFakerTest.java b/src/test/java/org/openrewrite/java/testing/datafaker/JavaFakerToDataFakerTest.java index 0701a3084..aa3d85f7f 100644 --- a/src/test/java/org/openrewrite/java/testing/datafaker/JavaFakerToDataFakerTest.java +++ b/src/test/java/org/openrewrite/java/testing/datafaker/JavaFakerToDataFakerTest.java @@ -16,6 +16,7 @@ package org.openrewrite.java.testing.datafaker; import org.junit.jupiter.api.Test; +import org.openrewrite.DocumentExample; import org.openrewrite.java.JavaParser; import org.openrewrite.test.RecipeSpec; import org.openrewrite.test.RewriteTest; @@ -30,6 +31,7 @@ public void defaults(RecipeSpec spec) { .parser(JavaParser.fromJavaVersion().classpath("javafaker", "datafaker")); } + @DocumentExample @Test void javaFakerToDataFaker() { rewriteRun(