diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java index 5eedab42..08a0351c 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java @@ -154,7 +154,7 @@ public class MiscellaneousTest { throwableCaught = false; Miscellaneous.executeSafely(() -> { - System.out.println("You can safely ignore this (this comes from MiscellaneousTest#testExecuteSafely0)"); + System.out.println("You can safely ignore this message (this comes from MiscellaneousTest#testExecuteSafely0)"); }, "MiscellaneousTest#testExecuteSafely0"); assertFalse(throwableCaught, "Event was triggered"); diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java index b5c9c91d..fd7029e4 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java @@ -46,11 +46,17 @@ class PlaceholderEngineTest { */ private static final UnitLogger logger = new UnitLogger(PlaceholderEngineTest.class); + /** + * Creates a new {@link PlaceholderEngine} instance before each test. + */ @BeforeEach void createInstance() { new PlaceholderEngine(); } + /** + * Sets the {@link PlaceholderEngine}#{@code instance} to {@code null} after each test. + */ @AfterEach void clearInstance() { Reflect.onClass(PlaceholderEngine.class).call("clearInstance");