From bc95fca7afea19c15330a886949dcbf39a35d0fb Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Mon, 3 Nov 2025 22:52:49 +0000 Subject: [PATCH] JUnit Jupiter best practices Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.testing.junit.JupiterBestPractices?organizationId=NzQ1YmJlODUtZjNkMy00OTNkLThhNDAtZWJmZDg4N2U1ZjU1 Co-authored-by: Moderne --- .../plexus/velocity/DefaultVelocityComponentTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/codehaus/plexus/velocity/DefaultVelocityComponentTest.java b/src/test/java/org/codehaus/plexus/velocity/DefaultVelocityComponentTest.java index 64dcd01..a6b08a7 100644 --- a/src/test/java/org/codehaus/plexus/velocity/DefaultVelocityComponentTest.java +++ b/src/test/java/org/codehaus/plexus/velocity/DefaultVelocityComponentTest.java @@ -29,13 +29,13 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; @PlexusTest -public class DefaultVelocityComponentTest { +class DefaultVelocityComponentTest { @Inject private VelocityComponent velocity; @Test - public void testBasic() { + void basic() { // test the properties String value = (String) velocity.getEngine().getProperty("hello");