This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-scxml.git


The following commit(s) were added to refs/heads/master by this push:
     new 2bef7a20 Use JUnit 5 convention for test method visibility
2bef7a20 is described below

commit 2bef7a20a48ab5c164e94efa3b19dbb72b78adb4
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jun 7 18:28:07 2025 -0400

    Use JUnit 5 convention for test method visibility
---
 .../org/apache/commons/scxml2/EventDataTest.java   |  8 ++--
 .../org/apache/commons/scxml2/SCInstanceTest.java  | 18 ++++-----
 .../apache/commons/scxml2/SCXMLExecutorTest.java   | 46 +++++++++++-----------
 .../java/org/apache/commons/scxml2/StatusTest.java | 12 +++---
 .../org/apache/commons/scxml2/TieBreakerTest.java  | 12 +++---
 .../apache/commons/scxml2/TriggerEventTest.java    |  8 ++--
 .../org/apache/commons/scxml2/WildcardTest.java    |  4 +-
 .../org/apache/commons/scxml2/WizardsTest.java     |  4 +-
 .../scxml2/env/AbstractSCXMLListenerTest.java      |  8 ++--
 .../scxml2/env/AbstractStateMachineTest.java       |  2 +-
 .../apache/commons/scxml2/env/LogUtilsTest.java    |  6 +--
 .../commons/scxml2/env/SimpleContextTest.java      | 28 ++++++-------
 .../apache/commons/scxml2/env/StopWatchTest.java   |  2 +-
 .../scxml2/env/groovy/GroovyClosureTest.java       |  2 +-
 .../scxml2/env/groovy/GroovyContextTest.java       |  6 +--
 .../scxml2/env/groovy/GroovyEvaluatorTest.java     | 12 +++---
 .../groovy/SerializableInitialBaseScriptTest.java  |  2 +-
 .../scxml2/env/groovy/StaticMethodTest.java        |  2 +-
 .../scxml2/env/javascript/JSContextTest.java       |  4 +-
 .../scxml2/env/javascript/JSEvaluatorTest.java     | 22 +++++------
 .../scxml2/env/javascript/JSExampleTest.java       |  2 +-
 .../env/javascript/JavaScriptEngineTest.java       | 12 +++---
 .../commons/scxml2/env/jexl/ForeachTest.java       |  2 +-
 .../commons/scxml2/env/jexl/JexlContextTest.java   |  4 +-
 .../commons/scxml2/env/jexl/JexlEvaluatorTest.java |  6 +--
 .../commons/scxml2/env/jexl/StaticMethodTest.java  |  2 +-
 .../commons/scxml2/invoke/InvokeParamNameTest.java |  4 +-
 .../apache/commons/scxml2/invoke/InvokeTest.java   |  8 ++--
 .../commons/scxml2/io/ContentParserTest.java       |  6 +--
 .../apache/commons/scxml2/io/SCXMLReaderTest.java  | 32 +++++++--------
 .../scxml2/io/SCXMLRequiredAttributesTest.java     | 24 +++++------
 .../apache/commons/scxml2/io/SCXMLWriterTest.java  |  8 ++--
 .../org/apache/commons/scxml2/io/StateSrcTest.java |  6 +--
 .../apache/commons/scxml2/issues/Issue112Test.java |  2 +-
 .../apache/commons/scxml2/issues/Issue62Test.java  |  6 +--
 .../apache/commons/scxml2/issues/Issue64Test.java  |  4 +-
 .../apache/commons/scxml2/model/ActionTest.java    |  8 ++--
 .../apache/commons/scxml2/model/ActionsTest.java   |  6 +--
 .../apache/commons/scxml2/model/AssignTest.java    |  4 +-
 .../apache/commons/scxml2/model/CancelTest.java    |  4 +-
 .../commons/scxml2/model/CustomActionTest.java     | 22 +++++------
 .../apache/commons/scxml2/model/DatamodelTest.java | 12 +++---
 .../apache/commons/scxml2/model/HistoryTest.java   | 12 +++---
 .../apache/commons/scxml2/model/ParallelTest.java  |  6 +--
 .../apache/commons/scxml2/model/ScriptTest.java    |  4 +-
 .../scxml2/model/ScxmlInitialAttributeTest.java    |  6 +--
 .../org/apache/commons/scxml2/model/SendTest.java  |  4 +-
 .../org/apache/commons/scxml2/model/StateTest.java | 30 +++++++-------
 .../commons/scxml2/model/StatelessModelTest.java   |  8 ++--
 .../commons/scxml2/model/TransitionTargetTest.java |  8 ++--
 .../commons/scxml2/model/TransitionTest.java       |  2 +-
 .../scxml2/semantics/SCXMLSemanticsImplTest.java   |  8 ++--
 52 files changed, 240 insertions(+), 240 deletions(-)

diff --git a/src/test/java/org/apache/commons/scxml2/EventDataTest.java 
b/src/test/java/org/apache/commons/scxml2/EventDataTest.java
index 80a19e36..70c2a7da 100644
--- a/src/test/java/org/apache/commons/scxml2/EventDataTest.java
+++ b/src/test/java/org/apache/commons/scxml2/EventDataTest.java
@@ -48,7 +48,7 @@ public class EventDataTest {
      * Test the SCXML documents, usage of "_event.data"
      */
     @Test
-    public void testEventdata01Sample() throws Exception {
+    void testEventdata01Sample() throws Exception {
        final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/eventdata-01.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -70,7 +70,7 @@ public class EventDataTest {
     }
 
     @Test
-    public void testEventdata02Sample() throws Exception {
+    void testEventdata02Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/eventdata-02.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -88,7 +88,7 @@ public class EventDataTest {
     }
 
     @Test
-    public void testEventdata03Sample() throws Exception {
+    void testEventdata03Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/eventdata-03.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -101,7 +101,7 @@ public class EventDataTest {
     }
 
     @Test
-    public void testEventdata04Sample() throws Exception {
+    void testEventdata04Sample() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/env/jexl/eventdata-03.xml");
         final Tracer trc = new Tracer();
         final SCXMLExecutor exec = new SCXMLExecutor(null, null, trc);
diff --git a/src/test/java/org/apache/commons/scxml2/SCInstanceTest.java 
b/src/test/java/org/apache/commons/scxml2/SCInstanceTest.java
index caf4ff87..8d5eca71 100644
--- a/src/test/java/org/apache/commons/scxml2/SCInstanceTest.java
+++ b/src/test/java/org/apache/commons/scxml2/SCInstanceTest.java
@@ -40,7 +40,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testGetContext() {
+    void testGetContext() {
         final State target = new State();
         target.setId("1");
 
@@ -53,7 +53,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testGetContextNullParent() throws Exception {
+    void testGetContextNullParent() throws Exception {
         final State target = new State();
         target.setId("1");
 
@@ -69,7 +69,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testGetContextParent() throws Exception {
+    void testGetContextParent() throws Exception {
         final State target = new State();
         target.setId("1");
 
@@ -90,7 +90,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testGetLastConfiguration() {
+    void testGetLastConfiguration() {
         final History history = new History();
         history.setId("1");
 
@@ -110,7 +110,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testGetLastConfigurationNull() {
+    void testGetLastConfigurationNull() {
         final History history = new History();
 
         final Set<EnterableState> returnConfiguration = 
instance.getLastConfiguration(history);
@@ -119,7 +119,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testGetRootContext() {
+    void testGetRootContext() {
         final Context context = new SimpleContext();
         context.set("name", "value");
 
@@ -128,12 +128,12 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testIsEmpty() {
+    void testIsEmpty() {
         Assertions.assertTrue(instance.getLastConfiguration(new 
History()).isEmpty());
     }
 
     @Test
-    public void testIsEmptyFalse() {
+    void testIsEmptyFalse() {
         final History history = new History();
         history.setId("1");
 
@@ -147,7 +147,7 @@ public class SCInstanceTest {
     }
 
     @Test
-    public void testReset() {
+    void testReset() {
         final History history = new History();
         history.setId("1");
 
diff --git a/src/test/java/org/apache/commons/scxml2/SCXMLExecutorTest.java 
b/src/test/java/org/apache/commons/scxml2/SCXMLExecutorTest.java
index 9328d8ec..5d86bccd 100644
--- a/src/test/java/org/apache/commons/scxml2/SCXMLExecutorTest.java
+++ b/src/test/java/org/apache/commons/scxml2/SCXMLExecutorTest.java
@@ -44,7 +44,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorFinalDoneData() throws Exception {
+    void testSCXMLExecutorFinalDoneData() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/final-donedata.xml");
         Assertions.assertNull(exec.getFinalDoneData());
         exec.go();
@@ -52,7 +52,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave01grvSample() throws Exception {
+    void testSCXMLExecutorMicrowave01grvSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/microwave-01.xml");
         exec.go();
         checkMicrowave01Sample(exec);
@@ -62,70 +62,70 @@ public class SCXMLExecutorTest {
      * Test the implementation
      */
     @Test
-    public void testSCXMLExecutorMicrowave01JexlSample() throws Exception {
+    void testSCXMLExecutorMicrowave01JexlSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/microwave-01.xml");
         exec.go();
         checkMicrowave01Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave02grvSample() throws Exception {
+    void testSCXMLExecutorMicrowave02grvSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/microwave-02.xml");
         exec.go();
         checkMicrowave02Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave02JexlSample() throws Exception {
+    void testSCXMLExecutorMicrowave02JexlSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/microwave-02.xml");
         exec.go();
         checkMicrowave02Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave03grvSample() throws Exception {
+    void testSCXMLExecutorMicrowave03grvSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/microwave-03.xml");
         exec.go();
         checkMicrowave01Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave03JexlSample() throws Exception {
+    void testSCXMLExecutorMicrowave03JexlSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/microwave-03.xml");
         exec.go();
         checkMicrowave01Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave04grvSample() throws Exception {
+    void testSCXMLExecutorMicrowave04grvSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/microwave-04.xml");
         exec.go();
         checkMicrowave02Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave04JexlSample() throws Exception {
+    void testSCXMLExecutorMicrowave04JexlSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/microwave-04.xml");
         exec.go();
         checkMicrowave02Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave05grvSample() throws Exception {
+    void testSCXMLExecutorMicrowave05grvSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/microwave-05.xml");
         exec.go();
         checkMicrowave02Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorMicrowave05JexlSample() throws Exception {
+    void testSCXMLExecutorMicrowave05JexlSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/microwave-05.xml");
         exec.go();
         checkMicrowave02Sample(exec);
     }
 
     @Test
-    public void testSCXMLExecutorPrefix01Sample() throws Exception {
+    void testSCXMLExecutorPrefix01Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/prefix-01.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -137,7 +137,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorSetConfiguration() throws Exception {
+    void testSCXMLExecutorSetConfiguration() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-01.xml");
         exec.go();
         Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, 
"done.state.ten");
@@ -156,7 +156,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorSystemEventVariable() throws Exception {
+    void testSCXMLExecutorSystemEventVariable() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-event-variable.xml");
         exec.go();
         final Map<String, Object> payload = new HashMap<>();
@@ -165,7 +165,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorTransitions01Sample() throws Exception {
+    void testSCXMLExecutorTransitions01Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-01.xml");
         exec.go();
         Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, 
"done.state.ten");
@@ -179,7 +179,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorTransitions02Sample() throws Exception {
+    void testSCXMLExecutorTransitions02Sample() throws Exception {
         SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-02.xml");
         exec.go();
         Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, 
"ten.stay");
@@ -195,7 +195,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorTransitions03Sample() throws Exception {
+    void testSCXMLExecutorTransitions03Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-03.xml");
         exec.go();
         final Set<EnterableState> currentStates = 
SCXMLTestHelper.fireEvent(exec, "done.state.ten");
@@ -213,7 +213,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorTransitions04Sample() throws Exception {
+    void testSCXMLExecutorTransitions04Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-04.xml");
         exec.go();
         Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, 
"done.state.ten");
@@ -235,14 +235,14 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorTransitions05Sample() throws Exception {
+    void testSCXMLExecutorTransitions05Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-05.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerState(exec, "foo", "end");
     }
 
     @Test
-    public void testSCXMLExecutorTransitions06Sample() throws Exception {
+    void testSCXMLExecutorTransitions06Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-06.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerStates(exec, "start", new 
String[]{"one", "two"});
@@ -252,7 +252,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSCXMLExecutorTransitionsWithCond01Sample() throws 
Exception {
+    void testSCXMLExecutorTransitionsWithCond01Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/transitions-with-cond-01.xml");
         exec.go();
         final Map<String, Object> payload = new HashMap<>();
@@ -281,7 +281,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSend01Sample() throws Exception {
+    void testSend01Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/send-01.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -293,7 +293,7 @@ public class SCXMLExecutorTest {
     }
 
     @Test
-    public void testSend02TypeSCXMLSample() throws Exception {
+    void testSend02TypeSCXMLSample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/send-02.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
diff --git a/src/test/java/org/apache/commons/scxml2/StatusTest.java 
b/src/test/java/org/apache/commons/scxml2/StatusTest.java
index 5eac6a0e..aa36fe19 100644
--- a/src/test/java/org/apache/commons/scxml2/StatusTest.java
+++ b/src/test/java/org/apache/commons/scxml2/StatusTest.java
@@ -37,7 +37,7 @@ public class StatusTest {
     }
 
     @Test
-    public void testGetAllStatesContainsParent() {
+    void testGetAllStatesContainsParent() {
         final State parent = new State();
         parent.setId("0");
         stateConfiguration.enterState(parent);
@@ -52,7 +52,7 @@ public class StatusTest {
     }
 
     @Test
-    public void testGetAllStatesEmptyStatus() {
+    void testGetAllStatesEmptyStatus() {
 
         final Set<EnterableState> returnValue = status.getActiveStates();
 
@@ -60,7 +60,7 @@ public class StatusTest {
     }
 
     @Test
-    public void testIsFinalState() {
+    void testIsFinalState() {
         final Final state = new Final();
 
         stateConfiguration.enterState(state);
@@ -69,7 +69,7 @@ public class StatusTest {
     }
 
     @Test
-    public void testIsFinalStateFalse() {
+    void testIsFinalStateFalse() {
         final State state = new State();
 
         stateConfiguration.enterState(state);
@@ -78,7 +78,7 @@ public class StatusTest {
     }
 
     @Test
-    public void testIsFinalStateHasParent() {
+    void testIsFinalStateHasParent() {
         final Final state = new Final();
         state.setParent(new State());
 
@@ -88,7 +88,7 @@ public class StatusTest {
     }
 
     @Test
-    public void testIsInState() {
+    void testIsInState() {
         final State parent = new State();
         parent.setId("0");
         stateConfiguration.enterState(parent);
diff --git a/src/test/java/org/apache/commons/scxml2/TieBreakerTest.java 
b/src/test/java/org/apache/commons/scxml2/TieBreakerTest.java
index 19ad402c..1e0b4459 100644
--- a/src/test/java/org/apache/commons/scxml2/TieBreakerTest.java
+++ b/src/test/java/org/apache/commons/scxml2/TieBreakerTest.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
 public class TieBreakerTest {
 
     @Test
-    public void testTieBreaker01() throws Exception {
+    void testTieBreaker01() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/tie-breaker-01.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -49,7 +49,7 @@ public class TieBreakerTest {
     }
 
     @Test
-    public void testTieBreaker02() throws Exception {
+    void testTieBreaker02() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/tie-breaker-02.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -61,7 +61,7 @@ public class TieBreakerTest {
     }
 
     @Test
-    public void testTieBreaker03() throws Exception {
+    void testTieBreaker03() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/tie-breaker-03.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -73,7 +73,7 @@ public class TieBreakerTest {
     }
 
     @Test
-    public void testTieBreaker04() throws Exception {
+    void testTieBreaker04() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/tie-breaker-04.xml");
         exec.go();
         Set<EnterableState> currentStates = SCXMLTestHelper.fireEvent(exec, 
"event_2");
@@ -83,7 +83,7 @@ public class TieBreakerTest {
     }
 
     @Test
-    public void testTieBreaker05() throws Exception {
+    void testTieBreaker05() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/tie-breaker-05.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -103,7 +103,7 @@ public class TieBreakerTest {
     }
 
     @Test
-    public void testTieBreaker06() throws Exception {
+    void testTieBreaker06() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/tie-breaker-06.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
diff --git a/src/test/java/org/apache/commons/scxml2/TriggerEventTest.java 
b/src/test/java/org/apache/commons/scxml2/TriggerEventTest.java
index 4ccf6041..15d90e48 100644
--- a/src/test/java/org/apache/commons/scxml2/TriggerEventTest.java
+++ b/src/test/java/org/apache/commons/scxml2/TriggerEventTest.java
@@ -64,7 +64,7 @@ public class TriggerEventTest {
     }
 
     @Test
-    public void testTriggerEventEquals() {
+    void testTriggerEventEquals() {
         Assertions.assertEquals(te1, te2);
         Assertions.assertEquals(te3, te4);
         Assertions.assertEquals(te5, te6);
@@ -76,14 +76,14 @@ public class TriggerEventTest {
      * Test the implementation
      */
     @Test
-    public void testTriggerEventGetters() {
+    void testTriggerEventGetters() {
         Assertions.assertEquals("name1", te1.getName());
         Assertions.assertEquals(2, te2.getType());
         Assertions.assertNull(te7.getData());
     }
 
     @Test
-    public void testTriggerEventHashCode() {
+    void testTriggerEventHashCode() {
         Assertions.assertEquals("TriggerEvent{name=name3, type=4}".hashCode(),
             te7.hashCode());
         Assertions.assertEquals("TriggerEvent{name=name3, type=3}".hashCode(),
@@ -91,7 +91,7 @@ public class TriggerEventTest {
     }
 
     @Test
-    public void testTriggerEventToString() {
+    void testTriggerEventToString() {
         Assertions.assertEquals("TriggerEvent{name=name3, type=4}", 
te7.toString());
         Assertions.assertEquals("TriggerEvent{name=name1, type=2, data="
             + "{property1=value1}}", te2.toString());
diff --git a/src/test/java/org/apache/commons/scxml2/WildcardTest.java 
b/src/test/java/org/apache/commons/scxml2/WildcardTest.java
index d4a02919..629fe5b1 100644
--- a/src/test/java/org/apache/commons/scxml2/WildcardTest.java
+++ b/src/test/java/org/apache/commons/scxml2/WildcardTest.java
@@ -31,7 +31,7 @@ public class WildcardTest {
      * Test the SCXML documents, usage of "_event.data"
      */
     @Test
-    public void testWildcard01Sample() throws Exception {
+    void testWildcard01Sample() throws Exception {
        SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/wildcard-01.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -44,7 +44,7 @@ public class WildcardTest {
     }
 
     @Test
-    public void testWildcard02Sample() throws Exception {
+    void testWildcard02Sample() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/wildcard-02.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
diff --git a/src/test/java/org/apache/commons/scxml2/WizardsTest.java 
b/src/test/java/org/apache/commons/scxml2/WizardsTest.java
index 17a6b46c..779f0ab3 100644
--- a/src/test/java/org/apache/commons/scxml2/WizardsTest.java
+++ b/src/test/java/org/apache/commons/scxml2/WizardsTest.java
@@ -70,7 +70,7 @@ public class WizardsTest {
      * Test the wizard style SCXML documents, and send usage
      */
     @Test
-    public void testWizard01Sample() throws Exception {
+    void testWizard01Sample() throws Exception {
         SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/wizard-01.xml");
         exec.go();
         Assertions.assertNotNull(exec);
@@ -94,7 +94,7 @@ public class WizardsTest {
     }
 
     @Test
-    public void testWizard02Sample() throws Exception {
+    void testWizard02Sample() throws Exception {
         SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/wizard-02.xml");
         exec.setEventdispatcher(new TestEventDispatcher());
         exec.go();
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/AbstractSCXMLListenerTest.java 
b/src/test/java/org/apache/commons/scxml2/env/AbstractSCXMLListenerTest.java
index ba225bc7..519fd280 100644
--- a/src/test/java/org/apache/commons/scxml2/env/AbstractSCXMLListenerTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/AbstractSCXMLListenerTest.java
@@ -63,7 +63,7 @@ public class AbstractSCXMLListenerTest {
     }
 
     @Test
-    public void testAbstractSCXMLListener0() {
+    void testAbstractSCXMLListener0() {
         final SCXMLListener listener0 = new AbstractSCXMLListener() {
                 /**
                  * @see SCXMLListener#onEntry(EnterableState)
@@ -103,7 +103,7 @@ public class AbstractSCXMLListenerTest {
     }
 
     @Test
-    public void testAbstractSCXMLListener1() {
+    void testAbstractSCXMLListener1() {
         final SCXMLListener listener1 = new AbstractSCXMLListener() {
                 /**
                  * @see SCXMLListener#onEntry(EnterableState)
@@ -134,7 +134,7 @@ public class AbstractSCXMLListenerTest {
     }
 
     @Test
-    public void testAbstractSCXMLListener2() {
+    void testAbstractSCXMLListener2() {
         final SCXMLListener listener2 = new AbstractSCXMLListener() {
                 /**
                  * @see SCXMLListener#onEntry(EnterableState)
@@ -157,7 +157,7 @@ public class AbstractSCXMLListenerTest {
     }
 
     @Test
-    public void testAbstractSCXMLListener3() {
+    void testAbstractSCXMLListener3() {
         final SCXMLListener listener3 = new AbstractSCXMLListener() {
                 // empty
             };
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/AbstractStateMachineTest.java 
b/src/test/java/org/apache/commons/scxml2/env/AbstractStateMachineTest.java
index 288a9977..14a8b1a7 100644
--- a/src/test/java/org/apache/commons/scxml2/env/AbstractStateMachineTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/AbstractStateMachineTest.java
@@ -62,7 +62,7 @@ public class AbstractStateMachineTest {
     }
 
     @Test
-    public void testMoreThanOneScxmlDocument() throws Exception {
+    void testMoreThanOneScxmlDocument() throws Exception {
         final URL fooScxmlDocument = getClass().getResource("foo.xml");
         final URL barScxmlDocument = getClass().getResource("bar.xml");
 
diff --git a/src/test/java/org/apache/commons/scxml2/env/LogUtilsTest.java 
b/src/test/java/org/apache/commons/scxml2/env/LogUtilsTest.java
index 8ca37981..e1ae56cc 100644
--- a/src/test/java/org/apache/commons/scxml2/env/LogUtilsTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/LogUtilsTest.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
 public class LogUtilsTest {
 
     @Test
-    public void testGetTTPathParent() {
+    void testGetTTPathParent() {
         final State target = new State();
         target.setId("ID");
 
@@ -41,7 +41,7 @@ public class LogUtilsTest {
     }
 
     @Test
-    public void testGetTTPathParentNull() {
+    void testGetTTPathParentNull() {
         final State target = new State();
         target.setId("ID");
 
@@ -49,7 +49,7 @@ public class LogUtilsTest {
     }
 
     @Test
-    public void testTransToString() {
+    void testTransToString() {
         final State targetTo = new State();
         targetTo.setId("TO");
 
diff --git a/src/test/java/org/apache/commons/scxml2/env/SimpleContextTest.java 
b/src/test/java/org/apache/commons/scxml2/env/SimpleContextTest.java
index 1f548c04..19f3ecfb 100644
--- a/src/test/java/org/apache/commons/scxml2/env/SimpleContextTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/SimpleContextTest.java
@@ -33,7 +33,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testEffectiveContextMapMergeStragegy() {
+    void testEffectiveContextMapMergeStragegy() {
         final SimpleContext rootContext = new SimpleContext();
         rootContext.set("key", "root");
         final SimpleContext parentContext = new SimpleContext(rootContext);
@@ -49,14 +49,14 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testGetNull() {
+    void testGetNull() {
         final Object value = context.get("key");
 
         Assertions.assertNull(value);
     }
 
     @Test
-    public void testGetParentNull() {
+    void testGetParentNull() {
         final Map<String, Object> vars = new HashMap<>();
         vars.put("key", "value");
 
@@ -66,7 +66,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testGetParentValue() {
+    void testGetParentValue() {
         final Map<String, Object> parentVars = new HashMap<>();
         parentVars.put("differentKey", "differentValue");
 
@@ -82,7 +82,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testGetParentWrongValue() {
+    void testGetParentWrongValue() {
         final Map<String, Object> parentVars = new HashMap<>();
         parentVars.put("differentKey", "differentValue");
 
@@ -98,7 +98,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testGetValue() {
+    void testGetValue() {
         final Map<String, Object> vars = new HashMap<>();
         vars.put("key", "value");
 
@@ -108,7 +108,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testHasNullParent() {
+    void testHasNullParent() {
         final Map<String, Object> vars = new HashMap<>();
         vars.put("key", "value");
 
@@ -118,7 +118,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testHasParentCorrectKey() {
+    void testHasParentCorrectKey() {
         final Map<String, Object> parentVars = new HashMap<>();
         parentVars.put("differentKey", "value");
 
@@ -134,7 +134,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testHasParentWrongKey() {
+    void testHasParentWrongKey() {
         final Map<String, Object> parentVars = new HashMap<>();
         parentVars.put("key", "value");
 
@@ -150,7 +150,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testHasTrue() {
+    void testHasTrue() {
         final Map<String, Object> vars = new HashMap<>();
         vars.put("key", "value");
 
@@ -160,7 +160,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testNestedEffectiveContextMapWrappingFails() {
+    void testNestedEffectiveContextMapWrappingFails() {
         final SimpleContext rootContext = new SimpleContext();
         rootContext.set("key", "root");
         final SimpleContext rootEffectiveContext = new 
SimpleContext(rootContext, new EffectiveContextMap(rootContext));
@@ -173,7 +173,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testSetVarsChangeValue() {
+    void testSetVarsChangeValue() {
         final Map<String, Object> vars = new HashMap<>();
         vars.put("key", "value");
 
@@ -185,7 +185,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testSetVarsEmpty() {
+    void testSetVarsEmpty() {
         final Map<String, Object> vars = new HashMap<>();
         context.setVars(vars);
 
@@ -195,7 +195,7 @@ public class SimpleContextTest {
     }
 
     @Test
-    public void testSetVarsParent() {
+    void testSetVarsParent() {
         final Map<String, Object> parentVars = new HashMap<>();
         parentVars.put("differentKey", "differentValue");
 
diff --git a/src/test/java/org/apache/commons/scxml2/env/StopWatchTest.java 
b/src/test/java/org/apache/commons/scxml2/env/StopWatchTest.java
index 0b555a8c..872dc0ad 100644
--- a/src/test/java/org/apache/commons/scxml2/env/StopWatchTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/StopWatchTest.java
@@ -42,7 +42,7 @@ public class StopWatchTest {
     }
 
     @Test
-    public void testStopWatch() {
+    void testStopWatch() {
         Assertions.assertEquals("reset", stopWatch.getCurrentState());
         stopWatch.fireEvent(StopWatch.EVENT_START);
         Assertions.assertEquals("running", stopWatch.getCurrentState());
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyClosureTest.java 
b/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyClosureTest.java
index 7ad53114..602fa8a9 100644
--- a/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyClosureTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyClosureTest.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
 public class GroovyClosureTest {
 
     @Test
-    public void testGroovyClosure() throws Exception {
+    void testGroovyClosure() throws Exception {
         final URL groovyClosure = 
SCXMLTestHelper.getResource("org/apache/commons/scxml2/env/groovy/groovy-closure.xml");
         final SCXMLExecutor exec = SCXMLTestHelper.getExecutor(groovyClosure, 
new GroovyEvaluator(true));
         exec.go();
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyContextTest.java 
b/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyContextTest.java
index 0f55ccb2..23a8993d 100644
--- a/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyContextTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyContextTest.java
@@ -25,13 +25,13 @@ import org.junit.jupiter.api.Test;
 public class GroovyContextTest {
 
     @Test
-    public void testNew() {
+    void testNew() {
         final GroovyContext ctx = new GroovyContext();
         Assertions.assertNotNull(ctx);
     }
 
     @Test
-    public void testPrepopulated() {
+    void testPrepopulated() {
         final Map<String, Object> m = new HashMap<>();
         m.put("foo", "bar");
         final GroovyContext ctx = new GroovyContext(null, m, null);
@@ -42,7 +42,7 @@ public class GroovyContextTest {
     }
 
     @Test
-    public void testSetVars() {
+    void testSetVars() {
         final GroovyContext ctx = new GroovyContext();
         Assertions.assertNotNull(ctx);
         ctx.set("foo", "bar");
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyEvaluatorTest.java 
b/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyEvaluatorTest.java
index 967ea800..b5faaf04 100644
--- 
a/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyEvaluatorTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/env/groovy/GroovyEvaluatorTest.java
@@ -38,7 +38,7 @@ public class GroovyEvaluatorTest {
     }
 
     @Test
-    public void testBuiltInFunctions() throws SCXMLExpressionException {
+    void testBuiltInFunctions() throws SCXMLExpressionException {
         final Evaluator eval = new GroovyEvaluator();
         final StateConfiguration stateConfiguration = new StateConfiguration();
         final Status status = new Status(stateConfiguration);
@@ -51,7 +51,7 @@ public class GroovyEvaluatorTest {
     }
 
     @Test
-    public void testErrorMessage() {
+    void testErrorMessage() {
         final Evaluator eval = new GroovyEvaluator();
         Assertions.assertNotNull(eval);
         final SCXMLExpressionException e = Assertions.assertThrows(
@@ -63,13 +63,13 @@ public class GroovyEvaluatorTest {
     }
 
     @Test
-    public void testEval() throws SCXMLExpressionException {
+    void testEval() throws SCXMLExpressionException {
         final Evaluator eval = new GroovyEvaluator();
         Assertions.assertEquals(2, eval.eval(ctx, "1 + 1"));
     }
 
     @Test
-    public void testPreprocessScript() {
+    void testPreprocessScript() {
         final GroovyEvaluator evaluator = new GroovyEvaluator();
         Assertions.assertEquals("x &&  x || x  !  x == x <  x <= x != x >  x 
>= x", evaluator.getScriptPreProcessor().
                 preProcess("x and x or x not x eq x lt x le x ne x gt x ge 
x"));
@@ -78,13 +78,13 @@ public class GroovyEvaluatorTest {
     }
 
     @Test
-    public void testPristine() throws SCXMLExpressionException {
+    void testPristine() throws SCXMLExpressionException {
         final Evaluator eval = new GroovyEvaluator();
         Assertions.assertTrue(eval.evalCond(ctx, "1 + 1 == 2"));
     }
 
     @Test
-    public void testScript() throws SCXMLExpressionException {
+    void testScript() throws SCXMLExpressionException {
         final Evaluator eval = new GroovyEvaluator();
         ctx.set("x", 3);
         ctx.set("y", 0);
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/groovy/SerializableInitialBaseScriptTest.java
 
b/src/test/java/org/apache/commons/scxml2/env/groovy/SerializableInitialBaseScriptTest.java
index ba68b59c..d810fa1f 100644
--- 
a/src/test/java/org/apache/commons/scxml2/env/groovy/SerializableInitialBaseScriptTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/env/groovy/SerializableInitialBaseScriptTest.java
@@ -35,7 +35,7 @@ public class SerializableInitialBaseScriptTest {
      * Testing Groovy initial base script usage and validating serializable
      */
     @Test
-    public void testSerializableInitialBaseScriptSample() throws Exception {
+    void testSerializableInitialBaseScriptSample() throws Exception {
         final URL scxml = 
SCXMLTestHelper.getResource("org/apache/commons/scxml2/env/groovy/serializable-initial-base-script.xml");
        SCXMLExecutor exec = SCXMLTestHelper.getExecutor(scxml, new 
GroovyEvaluator(true));
         exec.go();
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/groovy/StaticMethodTest.java 
b/src/test/java/org/apache/commons/scxml2/env/groovy/StaticMethodTest.java
index e78f8916..1bf716a4 100644
--- a/src/test/java/org/apache/commons/scxml2/env/groovy/StaticMethodTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/groovy/StaticMethodTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
 public class StaticMethodTest {
 
     @Test
-    public void testGroovyStaticMethodInvocation() throws Exception {
+    void testGroovyStaticMethodInvocation() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/static-method.xml");
         exec.getRootContext().set("System", System.class);
         exec.go();
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java 
b/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java
index 3781dfec..b1cc0ba4 100644
--- a/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/javascript/JSContextTest.java
@@ -30,7 +30,7 @@ public class JSContextTest {
          * Tests implementation of JSContext 'child' constructor.
          */
         @Test
-        public void testChildConstructor() {
+        void testChildConstructor() {
                 Assertions.assertNotNull(new JSContext(new SimpleContext()), 
"Error in JSContext child constructor");
         }
 
@@ -38,7 +38,7 @@ public class JSContextTest {
          * Tests implementation of JSContext default constructor.
          */
         @Test
-        public void testDefaultConstructor() {
+        void testDefaultConstructor() {
             Assertions.assertNotNull(new JSContext(), "Error in JSContext 
default constructor");
         }
 }
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java 
b/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java
index 12f02ef7..ab60f919 100644
--- 
a/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/env/javascript/JSEvaluatorTest.java
@@ -128,7 +128,7 @@ public class JSEvaluatorTest {
      * expression evaluation.
      */
     @Test
-    public void testBasic() throws SCXMLExpressionException {
+    void testBasic() throws SCXMLExpressionException {
         final Evaluator evaluator = new JSEvaluator();
 
         Assertions.assertNotNull(evaluator);
@@ -139,7 +139,7 @@ public class JSEvaluatorTest {
      * Tests evaluation with SCXML data model expressions.
      */
     @Test
-    public void testDataModelExpressions() throws Exception {
+    void testDataModelExpressions() throws Exception {
         Assertions.assertEquals("leaf",
                      evaluator.eval(context,"forest.tree.branch.twig"),
                 "Invalid result: " + "forest.tree.branch.twig");
@@ -149,7 +149,7 @@ public class JSEvaluatorTest {
      * Tests evaluation of SCXML data model locations.
      */
     @Test
-    public void testDataModelLocations() throws Exception {
+    void testDataModelLocations() throws Exception {
         Assertions.assertTrue(evaluator.eval(context, "forest") instanceof Map,
                 "Invalid result: forest instanceof Map");
 
@@ -161,7 +161,7 @@ public class JSEvaluatorTest {
      * Tests handling of illegal expressions.
      */
     @Test
-    public void testIllegalExpresssion() {
+    void testIllegalExpresssion() {
         final Evaluator evaluator = new JSEvaluator();
 
         Assertions.assertNotNull(evaluator);
@@ -177,7 +177,7 @@ public class JSEvaluatorTest {
      * Tests evaluation with invalid SCXML data model expressions.
      */
     @Test
-    public void testInvalidDataModelExpressions() {
+    void testInvalidDataModelExpressions() {
         Assertions.assertNull(context.get("forestx"));
         Assertions.assertThrows(
                 SCXMLExpressionException.class,
@@ -189,7 +189,7 @@ public class JSEvaluatorTest {
      * Tests evaluation of invalid SCXML data model locations.
      */
     @Test
-    public void testInvalidDataModelLocations() throws Exception {
+    void testInvalidDataModelLocations() throws Exception {
             Assertions.assertNotNull(context.get("forest"));
             
Assertions.assertNull(evaluator.eval(context,"forest.tree.branch.twigx"),
                     "Invalid result: " + "forest.tree.branch.twigx");
@@ -199,7 +199,7 @@ public class JSEvaluatorTest {
      * Tests evaluation with invalid SCXML context variables.
      */
     @Test
-    public void testInvalidVarExpressions() {
+    void testInvalidVarExpressions() {
         for (final TestItem item: VAR_EXPRESSIONS) {
             Assertions.assertNull(context.get("fibonacci"));
             Assertions.assertThrows(
@@ -210,7 +210,7 @@ public class JSEvaluatorTest {
     }
 
     @Test
-    public void testScript() throws SCXMLExpressionException {
+    void testScript() throws SCXMLExpressionException {
         final Evaluator evaluator = new JSEvaluator();
         context.set("x", 3);
         context.set("y", 0);
@@ -228,7 +228,7 @@ public class JSEvaluatorTest {
      * Tests evaluation of Javascript functions with variables from SCXML 
context.
      */
     @Test
-    public void testScriptFunctions() throws Exception {
+    void testScriptFunctions() throws Exception {
         context.set("FIVE", 5);
         Assertions.assertEquals(5,context.get("FIVE"));
         Assertions.assertEquals(120.0, evaluator.eval(context,FUNCTION), 
"Invalid function result");
@@ -238,7 +238,7 @@ public class JSEvaluatorTest {
      * Tests evaluation with simple standard expressions.
      */
     @Test
-    public void testStandardExpressions() throws Exception {
+    void testStandardExpressions() throws Exception {
         for (final TestItem item: SIMPLE_EXPRESSIONS) {
             final Object eval = evaluator.eval(context,item.expression);
             if (item.result instanceof Integer && eval instanceof Number) {
@@ -259,7 +259,7 @@ public class JSEvaluatorTest {
      * Tests evaluation with SCXML context variables.
      */
     @Test
-    public void testVarExpressions() throws Exception {
+    void testVarExpressions() throws Exception {
         context.set("fibonacci", 12.0);
 
         for (final TestItem item: VAR_EXPRESSIONS) {
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/javascript/JSExampleTest.java 
b/src/test/java/org/apache/commons/scxml2/env/javascript/JSExampleTest.java
index 9418488e..a9d60cad 100644
--- a/src/test/java/org/apache/commons/scxml2/env/javascript/JSExampleTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/javascript/JSExampleTest.java
@@ -51,7 +51,7 @@ public class JSExampleTest {
 
     // TEST METHODS
     @Test
-    public void testExample01Sample() throws Exception {
+    void testExample01Sample() throws Exception {
 
         final List<CustomAction> actions  = new ArrayList<>();
         actions.add(new CustomAction("http://my.custom-actions.domain";, 
"eventdatamaptest", EventDataMapTest.class));
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/javascript/JavaScriptEngineTest.java
 
b/src/test/java/org/apache/commons/scxml2/env/javascript/JavaScriptEngineTest.java
index b226b481..81a84a65 100644
--- 
a/src/test/java/org/apache/commons/scxml2/env/javascript/JavaScriptEngineTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/env/javascript/JavaScriptEngineTest.java
@@ -50,19 +50,19 @@ public class JavaScriptEngineTest {
     }
 
     @Test
-    public void testCopyJavscriptGlobalsToScxmlContext() throws Exception {
+    void testCopyJavscriptGlobalsToScxmlContext() throws Exception {
         assertFalse(context.has("x"));
         evaluator.eval(context, "x=3");
         assertEquals(3, context.get("x"));
     }
 
     @Test
-    public void testInitScxmlSystemContext() throws Exception {
+    void testInitScxmlSystemContext() throws Exception {
         assertEquals("test", evaluator.eval(context, "_name"));
     }
 
     @Test
-    public void testJavscriptGlobalsNotRetainedAcrossEvaluatorInstances() 
throws Exception {
+    void testJavscriptGlobalsNotRetainedAcrossEvaluatorInstances() throws 
Exception {
         assertFalse(context.has("x"));
         evaluator.eval(context, "x=3");
         assertEquals(3, context.get("x"));
@@ -73,7 +73,7 @@ public class JavaScriptEngineTest {
     }
 
     @Test
-    public void testScxmlEvent() throws Exception {
+    void testScxmlEvent() throws Exception {
         assertTrue(evaluator.evalCond(context, "_event === undefined"));
         final EventVariable event = new EventVariable("myEvent", 
EventVariable.TYPE_INTERNAL, null, null, null, null,"myData");
         systemContext.setLocal(SCXMLSystemContext.EVENT_KEY, event);
@@ -85,7 +85,7 @@ public class JavaScriptEngineTest {
     }
 
     @Test
-    public void testScxmlInPredicate() throws Exception {
+    void testScxmlInPredicate() throws Exception {
         assertFalse(evaluator.evalCond(context, "In('foo')"));
         final Final foo = new Final();
         foo.setId("foo");
@@ -94,7 +94,7 @@ public class JavaScriptEngineTest {
     }
 
     @Test
-    public void testSharedJavscriptGlobalsRetainedAcrossInvocation() throws 
Exception {
+    void testSharedJavscriptGlobalsRetainedAcrossInvocation() throws Exception 
{
         assertFalse(context.has("x"));
         evaluator.eval(context, "x=3");
         context.getVars().remove("x");
diff --git a/src/test/java/org/apache/commons/scxml2/env/jexl/ForeachTest.java 
b/src/test/java/org/apache/commons/scxml2/env/jexl/ForeachTest.java
index c2efed60..8e3b7941 100644
--- a/src/test/java/org/apache/commons/scxml2/env/jexl/ForeachTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/jexl/ForeachTest.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
 public class ForeachTest {
 
     @Test
-    public void testForeach() throws Exception {
+    void testForeach() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/foreach.xml");
         exec.go();
         Assertions.assertTrue(exec.getStatus().isFinal());
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/jexl/JexlContextTest.java 
b/src/test/java/org/apache/commons/scxml2/env/jexl/JexlContextTest.java
index 0b41cbec..9482da99 100644
--- a/src/test/java/org/apache/commons/scxml2/env/jexl/JexlContextTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/jexl/JexlContextTest.java
@@ -25,13 +25,13 @@ import org.junit.jupiter.api.Test;
 public class JexlContextTest {
 
     @Test
-    public void testNew() {
+    void testNew() {
         final JexlContext ctx = new JexlContext();
         Assertions.assertNotNull(ctx);
     }
 
     @Test
-    public void testPrepopulated() {
+    void testPrepopulated() {
         final Map<String, Object> m = new HashMap<>();
         m.put("foo", "bar");
         final JexlContext ctx = new JexlContext(null, m);
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/jexl/JexlEvaluatorTest.java 
b/src/test/java/org/apache/commons/scxml2/env/jexl/JexlEvaluatorTest.java
index 34593933..d14c2c27 100644
--- a/src/test/java/org/apache/commons/scxml2/env/jexl/JexlEvaluatorTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/jexl/JexlEvaluatorTest.java
@@ -28,7 +28,7 @@ public class JexlEvaluatorTest {
     private final Context ctx = new JexlContext();
 
     @Test
-    public void testErrorMessage() {
+    void testErrorMessage() {
         final Evaluator eval = new JexlEvaluator();
         Assertions.assertNotNull(eval);
         final SCXMLExpressionException e = Assertions.assertThrows(
@@ -40,13 +40,13 @@ public class JexlEvaluatorTest {
     }
 
     @Test
-    public void testPristine() throws SCXMLExpressionException {
+    void testPristine() throws SCXMLExpressionException {
         final Evaluator eval = new JexlEvaluator();
         Assertions.assertTrue((Boolean) eval.eval(ctx, "1+1 eq 2"));
     }
 
     @Test
-    public void testScript() throws SCXMLExpressionException {
+    void testScript() throws SCXMLExpressionException {
         final Evaluator eval = new JexlEvaluator();
         ctx.set("x", 3);
         ctx.set("y", 0);
diff --git 
a/src/test/java/org/apache/commons/scxml2/env/jexl/StaticMethodTest.java 
b/src/test/java/org/apache/commons/scxml2/env/jexl/StaticMethodTest.java
index 579787ff..c711fa6b 100644
--- a/src/test/java/org/apache/commons/scxml2/env/jexl/StaticMethodTest.java
+++ b/src/test/java/org/apache/commons/scxml2/env/jexl/StaticMethodTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
 public class StaticMethodTest {
 
     @Test
-    public void testJexlStaticMethodInvocation() throws Exception {
+    void testJexlStaticMethodInvocation() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/static-method.xml");
         exec.getRootContext().set("System", System.class);
         exec.go();
diff --git 
a/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java 
b/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
index 95623420..530a8218 100644
--- a/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
+++ b/src/test/java/org/apache/commons/scxml2/invoke/InvokeParamNameTest.java
@@ -107,7 +107,7 @@ public class InvokeParamNameTest {
 
     // Tests "param" element with "name" and "expr" attribute
     @Test
-    public void testNameAndExpr() throws Exception {
+    void testNameAndExpr() throws Exception {
         trigger();
         Assertions.assertTrue(lastURL.endsWith("TestSrc"));
         final Map.Entry<String, Object> e =
@@ -118,7 +118,7 @@ public class InvokeParamNameTest {
 
     // Tests "param" element with a "name" attribute and "expr" attribute 
locating a data id
     @Test
-    public void testSoleNameLocation() throws Exception {
+    void testSoleNameLocation() throws Exception {
         trigger(); trigger();
         final Map m = (Map)lastParams.values().iterator().next();
         Assertions.assertNotNull(m);
diff --git a/src/test/java/org/apache/commons/scxml2/invoke/InvokeTest.java 
b/src/test/java/org/apache/commons/scxml2/invoke/InvokeTest.java
index e90118a4..f77e84db 100644
--- a/src/test/java/org/apache/commons/scxml2/invoke/InvokeTest.java
+++ b/src/test/java/org/apache/commons/scxml2/invoke/InvokeTest.java
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
 public class InvokeTest {
 
     @Test
-    public void testExecuteInvokeAfterAllInternalEventsAreProcessed() throws 
Exception {
+    void testExecuteInvokeAfterAllInternalEventsAreProcessed() throws 
Exception {
         final SCXML scxml = 
SCXMLReader.read(SCXMLTestHelper.getResource("org/apache/commons/scxml2/invoke/invoker-05.xml"));
         final SCXMLExecutor exec = new SCXMLExecutor(null, new 
SimpleDispatcher(), new SimpleErrorReporter());
         exec.setStateMachine(scxml);
@@ -51,7 +51,7 @@ public class InvokeTest {
      * Test the SCXML documents, usage of &lt;invoke&gt;
      */
     @Test
-    public void testInvoke01Sample() throws Exception {
+    void testInvoke01Sample() throws Exception {
         final SCXML scxml = 
SCXMLReader.read(SCXMLTestHelper.getResource("org/apache/commons/scxml2/invoke/invoker-01.xml"));
         final SCXMLExecutor exec = new SCXMLExecutor(null, new 
SimpleDispatcher(), new SimpleErrorReporter());
         exec.setStateMachine(scxml);
@@ -63,7 +63,7 @@ public class InvokeTest {
     }
 
     @Test
-    public void testInvoke02Sample() throws Exception {
+    void testInvoke02Sample() throws Exception {
         final SCXML scxml = 
SCXMLReader.read(SCXMLTestHelper.getResource("org/apache/commons/scxml2/invoke/invoker-02.xml"));
         final SCXMLExecutor exec = new SCXMLExecutor(null, new 
SimpleDispatcher(), new SimpleErrorReporter());
         exec.setStateMachine(scxml);
@@ -74,7 +74,7 @@ public class InvokeTest {
     }
 
     @Test
-    public void testInvoke03Sample() throws Exception {
+    void testInvoke03Sample() throws Exception {
         final SCXML scxml = 
SCXMLReader.read(SCXMLTestHelper.getResource("org/apache/commons/scxml2/invoke/invoker-03.xml"));
         final SCXMLExecutor exec = new SCXMLExecutor(null, new 
SimpleDispatcher(), new SimpleErrorReporter());
         exec.setStateMachine(scxml);
diff --git a/src/test/java/org/apache/commons/scxml2/io/ContentParserTest.java 
b/src/test/java/org/apache/commons/scxml2/io/ContentParserTest.java
index 76729476..59b40e24 100644
--- a/src/test/java/org/apache/commons/scxml2/io/ContentParserTest.java
+++ b/src/test/java/org/apache/commons/scxml2/io/ContentParserTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
 public class ContentParserTest {
 
     @Test
-    public void testParseJson() throws Exception {
+    void testParseJson() throws Exception {
         final ObjectMapper jsonObjectMapper = new ObjectMapper();
         jsonObjectMapper.configure(JsonParser.Feature.ALLOW_COMMENTS, true);
         jsonObjectMapper.configure(JsonParser.Feature.ALLOW_YAML_COMMENTS, 
true);
@@ -53,7 +53,7 @@ public class ContentParserTest {
     }
 
     @Test
-    public void testSpaceNormalizeContent() {
+    void testSpaceNormalizeContent() {
         Assertions.assertNull(ContentParser.spaceNormalizeContent(null));
         Assertions.assertEquals("", ContentParser.spaceNormalizeContent(""));
         Assertions.assertEquals("a", ContentParser.spaceNormalizeContent("a"));
@@ -64,7 +64,7 @@ public class ContentParserTest {
     }
 
     @Test
-    public void testTrimContent() {
+    void testTrimContent() {
         Assertions.assertNull(ContentParser.trimContent(null));
         Assertions.assertEquals("", ContentParser.trimContent(""));
         Assertions.assertEquals("", ContentParser.trimContent(" "));
diff --git a/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java 
b/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
index 70a44b5f..53b656ca 100644
--- a/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
+++ b/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
@@ -183,7 +183,7 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testDataWithSrcAndExprIsRejectedInStrictConfiguration() {
+    void testDataWithSrcAndExprIsRejectedInStrictConfiguration() {
         final Configuration configuration = new Configuration();
         configuration.setStrict(true);
         configuration.setSilent(true);
@@ -192,7 +192,7 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testDataWithSrcAndExprUsesExprInNonStrictConfiguration() 
throws Exception {
+    void testDataWithSrcAndExprUsesExprInNonStrictConfiguration() throws 
Exception {
         final Configuration configuration = new Configuration();
         configuration.setStrict(false);
         configuration.setSilent(true);
@@ -207,7 +207,7 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testExprAttributeOfDataIsParsed() throws Exception {
+    void testExprAttributeOfDataIsParsed() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/io/data-with-expr.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(scxml.getDatamodel());
@@ -219,21 +219,21 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testSCXMLInValidTransitionTargets1() {
+    void testSCXMLInValidTransitionTargets1() {
         // ModelUpdater will fail on invalid transition targets
         
Assertions.assertThrows(org.apache.commons.scxml2.model.ModelException.class,
                 () -> 
SCXMLTestHelper.parse(SCXMLTestHelper.getResource("org/apache/commons/scxml2/io/scxml-invalid-transition-targets-test1.xml")));
     }
 
     @Test
-    public void testSCXMLInValidTransitionTargets2() {
+    void testSCXMLInValidTransitionTargets2() {
         // ModelUpdater will fail on invalid transition targets
         
Assertions.assertThrows(org.apache.commons.scxml2.model.ModelException.class,
                 () -> 
SCXMLTestHelper.parse(SCXMLTestHelper.getResource("org/apache/commons/scxml2/io/scxml-invalid-transition-targets-test2.xml")));
     }
 
     @Test
-    public void testSCXMLReaderCustomActionWithBodyTextSample() throws 
Exception {
+    void testSCXMLReaderCustomActionWithBodyTextSample() throws Exception {
         final List<CustomAction> cas = new ArrayList<>();
         final CustomAction ca = new 
CustomAction("http://my.custom-actions.domain";,
             "action", MyAction.class);
@@ -249,7 +249,7 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testSCXMLReaderGroovyClosure() throws Exception {
+    void testSCXMLReaderGroovyClosure() throws Exception {
         SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/env/groovy/groovy-closure.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(scxml.getGlobalScript());
@@ -261,7 +261,7 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testSCXMLReaderInitialAttr() throws Exception {
+    void testSCXMLReaderInitialAttr() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/io/scxml-initial-attr.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(serialize(scxml));
@@ -273,28 +273,28 @@ public class SCXMLReaderTest {
      * Test the implementation
      */
     @Test
-    public void testSCXMLReaderMicrowave03Sample() throws Exception {
+    void testSCXMLReaderMicrowave03Sample() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/env/jexl/microwave-03.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(serialize(scxml));
     }
 
     @Test
-    public void testSCXMLReaderMicrowave04Sample() throws Exception {
+    void testSCXMLReaderMicrowave04Sample() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/env/jexl/microwave-04.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(serialize(scxml));
     }
 
     @Test
-    public void testSCXMLReaderPrefix01Sample() throws Exception {
+    void testSCXMLReaderPrefix01Sample() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/prefix-01.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(serialize(scxml));
     }
 
     @Test
-    public void testSCXMLReaderSend01Sample() throws Exception {
+    void testSCXMLReaderSend01Sample() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/send-01.xml");
         final State ten = (State) 
scxml.getInitialTransition().getTargets().iterator().next();
         Assertions.assertEquals("ten", ten.getId());
@@ -317,14 +317,14 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testSCXMLReaderTransitions01Sample() throws Exception {
+    void testSCXMLReaderTransitions01Sample() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/transitions-01.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(serialize(scxml));
     }
 
     @Test
-    public void testSCXMLReaderWithInvalidElements() throws Exception {
+    void testSCXMLReaderWithInvalidElements() throws Exception {
         // In the default lenient/verbose mode (strict == false && silent == 
false),
         // the model exception should be just logged without a model exception.
         final Configuration configuration = new Configuration();
@@ -403,13 +403,13 @@ public class SCXMLReaderTest {
     }
 
     @Test
-    public void testSCXMLValidTransitionTargets() throws Exception {
+    void testSCXMLValidTransitionTargets() throws Exception {
         // ModelUpdater will fail on invalid transition targets
         
SCXMLTestHelper.parse(SCXMLTestHelper.getResource("org/apache/commons/scxml2/io/scxml-valid-transition-targets-test.xml"));
     }
 
     @Test
-    public void testSrcAttributeOfDataIsParsed() throws Exception {
+    void testSrcAttributeOfDataIsParsed() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/io/data-with-src.xml");
         Assertions.assertNotNull(scxml);
         Assertions.assertNotNull(scxml.getDatamodel());
diff --git 
a/src/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.java 
b/src/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.java
index 5268d558..323e8754 100644
--- 
a/src/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.java
@@ -146,7 +146,7 @@ public class SCXMLRequiredAttributesTest {
                     "</scxml>";
 
     @Test
-    public void testSCXMLInvalidVersion() {
+    void testSCXMLInvalidVersion() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_INVALID_VERSION), null),
@@ -155,7 +155,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingAssignLocation() {
+    void testSCXMLMissingAssignLocation() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_ASSIGN_LOCATION), null),
@@ -164,7 +164,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingDataId() {
+    void testSCXMLMissingDataId() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_DATA_ID), null),
@@ -173,7 +173,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingElseIfCond() {
+    void testSCXMLMissingElseIfCond() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_ELSEIF_COND), null),
@@ -182,7 +182,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingForeachArray() {
+    void testSCXMLMissingForeachArray() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_FOREACH_ARRAY), null),
@@ -191,7 +191,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingForeachItem() {
+    void testSCXMLMissingForeachItem() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_FOREACH_ITEM), null),
@@ -200,7 +200,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingIfCond() {
+    void testSCXMLMissingIfCond() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_IF_COND), null),
@@ -209,7 +209,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingParamName() {
+    void testSCXMLMissingParamName() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_PARAM_NAME), null),
@@ -218,7 +218,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLMissingVersion() {
+    void testSCXMLMissingVersion() {
         final ModelException e = assertThrows(
                 ModelException.class,
                 () -> SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_MISSING_VERSION), null),
@@ -227,13 +227,13 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testSCXMLParamWithName() throws Exception {
+    void testSCXMLParamWithName() throws Exception {
         SCXMLTestHelper.parse(new StringReader(SCXML_WITH_PARAM_AND_NAME), 
null);
         // Note: cannot execute this instance without providing proper 
<invoke> src attribute
     }
 
     @Test
-    public void testSCXMLWithForEach() throws Exception {
+    void testSCXMLWithForEach() throws Exception {
         final SCXML scxml = SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_FOREACH), null);
         final SCXMLExecutor exec = SCXMLTestHelper.getExecutor(scxml);
         exec.go();
@@ -241,7 +241,7 @@ public class SCXMLRequiredAttributesTest {
     }
 
     @Test
-    public void testValidSCXML() throws Exception {
+    void testValidSCXML() throws Exception {
         final SCXML scxml = SCXMLTestHelper.parse(new 
StringReader(VALID_SCXML), null);
         final SCXMLExecutor exec = SCXMLTestHelper.getExecutor(scxml);
         exec.go();
diff --git a/src/test/java/org/apache/commons/scxml2/io/SCXMLWriterTest.java 
b/src/test/java/org/apache/commons/scxml2/io/SCXMLWriterTest.java
index da2d01c0..e1e91c07 100644
--- a/src/test/java/org/apache/commons/scxml2/io/SCXMLWriterTest.java
+++ b/src/test/java/org/apache/commons/scxml2/io/SCXMLWriterTest.java
@@ -32,7 +32,7 @@ import javax.xml.stream.XMLStreamException;
 public class SCXMLWriterTest {
 
     @Test
-    public void testSerializeGlobalScript() throws IOException, 
XMLStreamException {
+    void testSerializeGlobalScript() throws IOException, XMLStreamException {
         final SCXML scxml = new CommonsSCXML();
         scxml.setVersion("1.0");
         scxml.setInitial("S1");
@@ -56,7 +56,7 @@ public class SCXMLWriterTest {
     }
 
     @Test
-    public void testSerializeParallel() throws IOException, XMLStreamException 
{
+    void testSerializeParallel() throws IOException, XMLStreamException {
 
         final SCXML scxml = new CommonsSCXML();
         scxml.setVersion("1.0");
@@ -104,7 +104,7 @@ public class SCXMLWriterTest {
      }
 
     @Test
-    public void testSerializeSCXMLNoStates() throws IOException, 
XMLStreamException {
+    void testSerializeSCXMLNoStates() throws IOException, XMLStreamException {
         final SCXML scxml = new CommonsSCXML();
         // ensure namespaces are stored in insertion order for write->read 
comparision below
         final LinkedHashMap<String, String> namespaces = new 
LinkedHashMap<>(scxml.getNamespaces());
@@ -127,7 +127,7 @@ public class SCXMLWriterTest {
     }
 
     @Test
-    public void testSerializeSCXMLState() throws IOException, 
XMLStreamException {
+    void testSerializeSCXMLState() throws IOException, XMLStreamException {
         final SCXML scxml = new CommonsSCXML();
         scxml.setVersion("1.0");
         scxml.setInitial("S1");
diff --git a/src/test/java/org/apache/commons/scxml2/io/StateSrcTest.java 
b/src/test/java/org/apache/commons/scxml2/io/StateSrcTest.java
index 8f6a7118..35cce775 100644
--- a/src/test/java/org/apache/commons/scxml2/io/StateSrcTest.java
+++ b/src/test/java/org/apache/commons/scxml2/io/StateSrcTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
 public class StateSrcTest {
 
     @Test
-    public void testBadSrcFragmentInclude() {
+    void testBadSrcFragmentInclude() {
         final ModelException me = Assertions.assertThrows(
                 ModelException.class,
                 () -> 
SCXMLReader.read(SCXMLTestHelper.getResource("org/apache/commons/scxml2/io/src-test-5.xml")),
@@ -40,7 +40,7 @@ public class StateSrcTest {
     }
 
     @Test
-    public void testBadSrcInclude() {
+    void testBadSrcInclude() {
         final ModelException me = Assertions.assertThrows(
                 ModelException.class,
                 () -> 
SCXMLReader.read(SCXMLTestHelper.getResource("org/apache/commons/scxml2/io/src-test-4.xml")),
@@ -50,7 +50,7 @@ public class StateSrcTest {
     }
 
     @Test
-    public void testRecursiveSrcInclude() throws Exception {
+    void testRecursiveSrcInclude() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/io/src-test-1.xml");
         exec.go();
         Set<EnterableState> states = exec.getStatus().getStates();
diff --git a/src/test/java/org/apache/commons/scxml2/issues/Issue112Test.java 
b/src/test/java/org/apache/commons/scxml2/issues/Issue112Test.java
index b85e35de..2cdb1b61 100644
--- a/src/test/java/org/apache/commons/scxml2/issues/Issue112Test.java
+++ b/src/test/java/org/apache/commons/scxml2/issues/Issue112Test.java
@@ -77,7 +77,7 @@ public class Issue112Test {
     // Example using a custom <my:enqueue> action that generates more events 
during event processing.
     // An external event queue is used by <my:enqueue> instead of 
SCXMLExecutor#triggerEvent(TriggerEvent)
     @Test
-    public void test01issue112() throws Exception {
+    void test01issue112() throws Exception {
 
         final CustomAction ca1 =
             new CustomAction("http://my.custom-actions.domain/CUSTOM";, 
"enqueue", Enqueue.class);
diff --git a/src/test/java/org/apache/commons/scxml2/issues/Issue62Test.java 
b/src/test/java/org/apache/commons/scxml2/issues/Issue62Test.java
index a35d2a34..de49f850 100644
--- a/src/test/java/org/apache/commons/scxml2/issues/Issue62Test.java
+++ b/src/test/java/org/apache/commons/scxml2/issues/Issue62Test.java
@@ -42,7 +42,7 @@ public class Issue62Test {
     }
 
     @Test
-    public void test01issue62() throws Exception {
+    void test01issue62() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/issues/issue62-01.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -52,14 +52,14 @@ public class Issue62Test {
     }
 
     @Test
-    public void test02issue62() throws Exception {
+    void test02issue62() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/issues/issue62-02.xml");
         exec.go();
         fragmenttest(exec);
     }
 
     @Test
-    public void test03issue62() throws Exception {
+    void test03issue62() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/issues/issue62-03.xml");
         exec.go();
         fragmenttest(exec);
diff --git a/src/test/java/org/apache/commons/scxml2/issues/Issue64Test.java 
b/src/test/java/org/apache/commons/scxml2/issues/Issue64Test.java
index 54155573..1a195edd 100644
--- a/src/test/java/org/apache/commons/scxml2/issues/Issue64Test.java
+++ b/src/test/java/org/apache/commons/scxml2/issues/Issue64Test.java
@@ -27,14 +27,14 @@ import org.junit.jupiter.api.Test;
 public class Issue64Test {
 
     @Test
-    public void test01issue64() throws Exception {
+    void test01issue64() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/issues/issue64-01.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerState(exec, "show.bug", "end");
     }
 
     @Test
-    public void test02issue64() throws Exception {
+    void test02issue64() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/issues/issue64-02.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerState(exec, "show.bug", "end");
diff --git a/src/test/java/org/apache/commons/scxml2/model/ActionTest.java 
b/src/test/java/org/apache/commons/scxml2/model/ActionTest.java
index 5d8b32ad..726d2c2b 100644
--- a/src/test/java/org/apache/commons/scxml2/model/ActionTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/ActionTest.java
@@ -29,7 +29,7 @@ public class ActionTest {
         action = new Assign();
     }
     @Test
-    public void testGetParentStateIsHistory() throws Exception {
+    void testGetParentStateIsHistory() throws Exception {
         final Transition transition = new Transition();
 
         final History history = new History();
@@ -49,7 +49,7 @@ public class ActionTest {
     }
 
     @Test
-    public void testGetParentStateIsInitial() throws Exception {
+    void testGetParentStateIsInitial() throws Exception {
         final SimpleTransition transition = new SimpleTransition();
 
         final Initial initial = new Initial();
@@ -68,7 +68,7 @@ public class ActionTest {
     }
 
     @Test
-    public void testGetParentStateIsParallel() throws Exception {
+    void testGetParentStateIsParallel() throws Exception {
         final Transition transition = new Transition();
 
         final Parallel parallel = new Parallel();
@@ -88,7 +88,7 @@ public class ActionTest {
     }
 
     @Test
-    public void testGetParentStateIsState() throws Exception {
+    void testGetParentStateIsState() throws Exception {
         final Transition transition = new Transition();
 
         final State state = new State();
diff --git a/src/test/java/org/apache/commons/scxml2/model/ActionsTest.java 
b/src/test/java/org/apache/commons/scxml2/model/ActionsTest.java
index ca72120a..68a0cb63 100644
--- a/src/test/java/org/apache/commons/scxml2/model/ActionsTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/ActionsTest.java
@@ -40,21 +40,21 @@ public class ActionsTest {
     }
 
     @Test
-    public void testInitialActions() throws Exception {
+    void testInitialActions() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/actions-initial-test.xml");
         exec.go();
         runTest(exec);
     }
 
     @Test
-    public void testParallelActions() throws Exception {
+    void testParallelActions() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/actions-parallel-test.xml");
         exec.go();
         runTest(exec);
     }
 
     @Test
-    public void testStateActions() throws Exception {
+    void testStateActions() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/actions-state-test.xml");
         exec.go();
         runTest(exec);
diff --git a/src/test/java/org/apache/commons/scxml2/model/AssignTest.java 
b/src/test/java/org/apache/commons/scxml2/model/AssignTest.java
index 8e10982d..0a5e60aa 100644
--- a/src/test/java/org/apache/commons/scxml2/model/AssignTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/AssignTest.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
 public class AssignTest {
 
     @Test
-    public void testAssignDeep() throws Exception {
+    void testAssignDeep() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/assign-test-02.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -38,7 +38,7 @@ public class AssignTest {
     }
 
     @Test
-    public void testAssignSrc() throws Exception {
+    void testAssignSrc() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/assign-test-01.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
diff --git a/src/test/java/org/apache/commons/scxml2/model/CancelTest.java 
b/src/test/java/org/apache/commons/scxml2/model/CancelTest.java
index 08e7674d..cc94cfd8 100644
--- a/src/test/java/org/apache/commons/scxml2/model/CancelTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/CancelTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
 public class CancelTest {
 
     @Test
-    public void testCancelBySendId() throws Exception {
+    void testCancelBySendId() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/model/cancel-test-01.xml");
         final SCXMLExecutor exec = SCXMLTestHelper.getExecutor(scxml, null, 
new SimpleDispatcher());
         exec.go();
@@ -38,7 +38,7 @@ public class CancelTest {
     }
 
     @Test
-    public void testCancelBySendIdExpr() throws Exception {
+    void testCancelBySendIdExpr() throws Exception {
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/model/cancel-test-02.xml");
         final SCXMLExecutor exec = SCXMLTestHelper.getExecutor(scxml, null, 
new SimpleDispatcher());
         exec.go();
diff --git 
a/src/test/java/org/apache/commons/scxml2/model/CustomActionTest.java 
b/src/test/java/org/apache/commons/scxml2/model/CustomActionTest.java
index d367de1f..5eb34d8a 100644
--- a/src/test/java/org/apache/commons/scxml2/model/CustomActionTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/CustomActionTest.java
@@ -36,7 +36,7 @@ public class CustomActionTest {
     }
 
     @Test
-    public void testAddBadCustomAction01() {
+    void testAddBadCustomAction01() {
         Assertions.assertThrows(
                 IllegalArgumentException.class,
                 () -> new CustomAction(null, "hello", Hello.class),
@@ -44,7 +44,7 @@ public class CustomActionTest {
     }
 
     @Test
-    public void testAddBadCustomAction02() {
+    void testAddBadCustomAction02() {
         Assertions.assertThrows(
                 IllegalArgumentException.class,
                 () -> new CustomAction("  ", "hello", Hello.class),
@@ -52,7 +52,7 @@ public class CustomActionTest {
     }
 
     @Test
-    public void testAddBadCustomAction03() {
+    void testAddBadCustomAction03() {
         Assertions.assertThrows(
                 IllegalArgumentException.class,
                 () -> new CustomAction("http://my.actions.domain/CUSTOM";, "", 
Hello.class),
@@ -60,7 +60,7 @@ public class CustomActionTest {
     }
 
     @Test
-    public void testAddBadCustomAction04() {
+    void testAddBadCustomAction04() {
         Assertions.assertThrows(
                 IllegalArgumentException.class,
                 () -> new CustomAction("http://my.actions.domain/CUSTOM";, "  
", Hello.class),
@@ -68,7 +68,7 @@ public class CustomActionTest {
     }
 
     @Test
-    public void testAddBadCustomAction05() {
+    void testAddBadCustomAction05() {
         Assertions.assertThrows(
                 IllegalArgumentException.class,
                 () -> new CustomAction("http://www.w3.org/2005/07/scxml";, 
"foo", Hello.class),
@@ -76,7 +76,7 @@ public class CustomActionTest {
     }
 
     @Test
-    public void testAddGoodCustomAction01() {
+    void testAddGoodCustomAction01() {
         new CustomAction("http://my.actions.domain/CUSTOM";, "hello",
             Hello.class);
     }
@@ -84,7 +84,7 @@ public class CustomActionTest {
     // Hello World example using custom <my:hello> action that generates an
     // event which has the payload examined with JEXL expressions
     @Test
-    public void testCustomActionEventPayloadHelloWorldJexl() throws Exception {
+    void testCustomActionEventPayloadHelloWorldJexl() throws Exception {
         // (1) Form a list of custom actions defined in the SCXML
         //     document (and any included documents via "src" attributes)
         final CustomAction ca =
@@ -125,7 +125,7 @@ public class CustomActionTest {
     // Hello World example using custom <my:hello> action
     // as part of an external state source (src attribute)
     @Test
-    public void testCustomActionExternalSrcHelloWorld() throws Exception {
+    void testCustomActionExternalSrcHelloWorld() throws Exception {
         // (1) Form a list of custom actions defined in the SCXML
         //     document (and any included documents via "src" attributes)
         final CustomAction ca =
@@ -149,7 +149,7 @@ public class CustomActionTest {
 
     // Hello World example using a custom <hello> action
     @Test
-    public void testCustomActionHelloWorld() throws Exception {
+    void testCustomActionHelloWorld() throws Exception {
         // (1) Form a list of custom actions defined in the SCXML
         //     document (and any included documents via "src" attributes)
         final CustomAction ca1 =
@@ -181,7 +181,7 @@ public class CustomActionTest {
     // Hello World example using custom <my:send> action
     // (overriding SCXML local name "send")
     @Test
-    public void testCustomActionOverrideLocalName() throws Exception {
+    void testCustomActionOverrideLocalName() throws Exception {
         // (1) List of custom actions, use same local name as SCXML action
         final CustomAction ca =
             new CustomAction("http://my.custom-actions.domain/CUSTOM";,
@@ -204,7 +204,7 @@ public class CustomActionTest {
 
     // Hello World example using the SCXML <log> action
     @Test
-    public void testHelloWorld() throws Exception {
+    void testHelloWorld() throws Exception {
         // (1) Get a SCXMLExecutor
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/hello-world.xml");
         exec.go();
diff --git a/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java 
b/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java
index 7078bf8f..54c1732d 100644
--- a/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/DatamodelTest.java
@@ -72,21 +72,21 @@ public class DatamodelTest {
     }
 
     @Test
-    public void testDatamodel05Groovy() throws Exception {
+    void testDatamodel05Groovy() throws Exception {
         final SCXMLExecutor exec01 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/datamodel-05.xml");
         exec01.go();
         SCXMLTestHelper.assertState(exec01, "end");
     }
 
     @Test
-    public void testDatamodel05Javascript() throws Exception {
+    void testDatamodel05Javascript() throws Exception {
         final SCXMLExecutor exec01 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/javascript/datamodel-05.xml");
         exec01.go();
         SCXMLTestHelper.assertState(exec01, "end");
     }
 
     @Test
-    public void testDatamodel05Jexl() throws Exception {
+    void testDatamodel05Jexl() throws Exception {
         final SCXMLExecutor exec01 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/datamodel-05.xml");
         exec01.go();
         SCXMLTestHelper.assertState(exec01, "end");
@@ -96,7 +96,7 @@ public class DatamodelTest {
      * Test the stateless model (Groovy), simultaneous executions
      */
     @Test
-    public void testDatamodelSimultaneousGroovy() throws Exception {
+    void testDatamodelSimultaneousGroovy() throws Exception {
         final SCXMLExecutor exec01 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/datamodel-01.xml");
         exec01.go();
         final SCXMLExecutor exec02 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/groovy/datamodel-01.xml");
@@ -109,7 +109,7 @@ public class DatamodelTest {
      * Test the stateless model (Javascript), simultaneous executions
      */
     @Test
-    public void testDatamodelSimultaneousJavascript() throws Exception {
+    void testDatamodelSimultaneousJavascript() throws Exception {
         final SCXMLExecutor exec01 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/javascript/datamodel-01.xml");
         exec01.go();
         final SCXMLExecutor exec02 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/javascript/datamodel-01.xml");
@@ -122,7 +122,7 @@ public class DatamodelTest {
      * Test the stateless model (jexl), simultaneous executions
      */
     @Test
-    public void testDatamodelSimultaneousJexl() throws Exception {
+    void testDatamodelSimultaneousJexl() throws Exception {
         final SCXMLExecutor exec01 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/datamodel-01.xml");
         exec01.go();
         final SCXMLExecutor exec02 = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/datamodel-01.xml");
diff --git a/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java 
b/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java
index 69a399dc..c0d11484 100644
--- a/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/HistoryTest.java
@@ -60,14 +60,14 @@ public class HistoryTest {
     }
 
     @Test
-    public void testDeepHistory01() throws Exception {
+    void testDeepHistory01() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/history-deep-01.xml");
         exec.go();
         runHistoryFlow(exec);
     }
 
     @Test
-    public void testHistoryDefaults01() throws Exception {
+    void testHistoryDefaults01() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/history-default-01.xml");
         exec.go();
         Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -82,7 +82,7 @@ public class HistoryTest {
     }
 
     @Test
-    public void testHistoryParallel01() throws Exception {
+    void testHistoryParallel01() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/history-parallel-01.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -100,7 +100,7 @@ public class HistoryTest {
     }
 
     @Test
-    public void testSetTypeDeep() {
+    void testSetTypeDeep() {
         final History history = new History();
         history.setType("deep");
 
@@ -108,7 +108,7 @@ public class HistoryTest {
     }
 
     @Test
-    public void testSetTypeNotDeep() {
+    void testSetTypeNotDeep() {
         final History history = new History();
         history.setType("shallow");
 
@@ -116,7 +116,7 @@ public class HistoryTest {
     }
 
     @Test
-    public void testShallowHistory01() throws Exception {
+    void testShallowHistory01() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/history-shallow-01.xml");
         exec.go();
         runHistoryFlow(exec);
diff --git a/src/test/java/org/apache/commons/scxml2/model/ParallelTest.java 
b/src/test/java/org/apache/commons/scxml2/model/ParallelTest.java
index c71062e9..0b2fe89c 100644
--- a/src/test/java/org/apache/commons/scxml2/model/ParallelTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/ParallelTest.java
@@ -24,14 +24,14 @@ import org.junit.jupiter.api.Test;
 public class ParallelTest {
 
     @Test
-    public void testParallel01() throws Exception {
+    void testParallel01() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/parallel-01.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerState(exec, "foo", "end");
     }
 
     @Test
-    public void testParallel02() throws Exception {
+    void testParallel02() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/parallel-02.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerStates(exec, "dummy.event", new 
String[] { "state01", "state02" });
@@ -39,7 +39,7 @@ public class ParallelTest {
     }
 
     @Test
-    public void testParallel03() throws Exception {
+    void testParallel03() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/parallel-03.xml");
         exec.go();
         SCXMLTestHelper.assertPostTriggerStates(exec, "dummy.event", new 
String[] { "para11", "para21" });
diff --git a/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java 
b/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java
index 90aff024..4354c0ad 100644
--- a/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/ScriptTest.java
@@ -29,7 +29,7 @@ public class ScriptTest {
      * Test JS script execution.
      */
     @Test
-    public void testJavaScriptExecution() throws Exception {
+    void testJavaScriptExecution() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/javascript/script-01.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
@@ -41,7 +41,7 @@ public class ScriptTest {
      * Test JEXL script execution.
      */
     @Test
-    public void testJexlScriptExecution() throws Exception {
+    void testJexlScriptExecution() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/env/jexl/script-01.xml");
         exec.go();
         final Set<EnterableState> currentStates = exec.getStatus().getStates();
diff --git 
a/src/test/java/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.java 
b/src/test/java/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.java
index 545184f5..c812b942 100644
--- 
a/src/test/java/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/model/ScxmlInitialAttributeTest.java
@@ -53,7 +53,7 @@ public class ScxmlInitialAttributeTest {
             "</scxml>";
 
     @Test
-    public void testIllegalInitial() {
+    void testIllegalInitial() {
         // expected because of the non-existing initial state id
         assertThrows(
                 ModelException.class,
@@ -62,7 +62,7 @@ public class ScxmlInitialAttributeTest {
     }
 
     @Test
-    public void testInitial() throws Exception {
+    void testInitial() throws Exception {
         final SCXML scxml = SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_LEGAL_INITIAL), null);
         assertEquals("s1", scxml.getInitial(), "The initial state ID reading 
was wrong.");
         final TransitionTarget tt = 
scxml.getInitialTransition().getTargets().iterator().next();
@@ -73,7 +73,7 @@ public class ScxmlInitialAttributeTest {
     }
 
     @Test
-    public void testNoInitial() throws Exception {
+    void testNoInitial() throws Exception {
         final SCXML scxml = SCXMLTestHelper.parse(new 
StringReader(SCXML_WITH_NO_INITIAL), null);
         assertNull(scxml.getInitial());
         final TransitionTarget tt = 
scxml.getInitialTransition().getTargets().iterator().next();
diff --git a/src/test/java/org/apache/commons/scxml2/model/SendTest.java 
b/src/test/java/org/apache/commons/scxml2/model/SendTest.java
index 8b9b6c44..cedff487 100644
--- a/src/test/java/org/apache/commons/scxml2/model/SendTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/SendTest.java
@@ -38,7 +38,7 @@ public class SendTest {
     }
 
     @Test
-    public void testDelayExpression() throws Exception {
+    void testDelayExpression() throws Exception {
         Assertions.assertEquals(0L, parseDelay(".s"));
         Assertions.assertEquals(0L, parseDelay(".0s"));
         Assertions.assertEquals(1000L, parseDelay("1.s"));
@@ -61,7 +61,7 @@ public class SendTest {
 
     @Test
     @SuppressWarnings("unchecked")
-    public void testNamelistOrderPreserved() throws Exception {
+    void testNamelistOrderPreserved() throws Exception {
         final List<Object> payloads = new ArrayList<>();
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/model/send-test-01.xml");
         final SCXMLExecutor exec = SCXMLTestHelper.getExecutor(scxml, null, 
new SimpleDispatcher() {
diff --git a/src/test/java/org/apache/commons/scxml2/model/StateTest.java 
b/src/test/java/org/apache/commons/scxml2/model/StateTest.java
index aa062279..32414f11 100644
--- a/src/test/java/org/apache/commons/scxml2/model/StateTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/StateTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
 public class StateTest {
 
     @Test
-    public void testAddTransitionContainKey() {
+    void testAddTransitionContainKey() {
         final Transition transition1 = new Transition();
         transition1.setEvent("event");
 
@@ -43,7 +43,7 @@ public class StateTest {
     }
 
     @Test
-    public void testAddTransitionDoesNotContainKey() {
+    void testAddTransitionDoesNotContainKey() {
         final Transition transition = new Transition();
         transition.setEvent("event");
 
@@ -57,7 +57,7 @@ public class StateTest {
     }
 
     @Test
-    public void testGetTransitionList() {
+    void testGetTransitionList() {
         final Transition transition1 = new Transition();
         transition1.setEvent("event");
 
@@ -74,20 +74,20 @@ public class StateTest {
     }
 
     @Test
-    public void testGetTransitionsList() {
+    void testGetTransitionsList() {
         final State state = new State();
         state.getTransitionsList().add(new Transition());
         Assertions.assertNotNull(state.getTransitionsList(null));
     }
 
     @Test
-    public void testGetTransitionsListNull() {
+    void testGetTransitionsListNull() {
         final State state = new State();
         Assertions.assertNull(state.getTransitionsList("event"));
     }
 
     @Test
-    public void testHasHistory() {
+    void testHasHistory() {
         final History history = new History();
 
         final State state = new State();
@@ -97,26 +97,26 @@ public class StateTest {
     }
 
     @Test
-    public void testHasHistoryEmpty() {
+    void testHasHistoryEmpty() {
         final State state = new State();
         Assertions.assertFalse(state.hasHistory());
     }
 
     @Test
-    public void testInitialAttribute() throws Exception {
+    void testInitialAttribute() throws Exception {
         final SCXMLExecutor exec = 
SCXMLTestHelper.getExecutor("org/apache/commons/scxml2/model/state-01.xml");
         exec.go();
         Assertions.assertEquals("s11", 
exec.getStatus().getStates().iterator().next().getId());
     }
 
     @Test
-    public void testIsCompositeFalse() {
+    void testIsCompositeFalse() {
         final State state = new State();
         Assertions.assertFalse(state.isComposite());
     }
 
     @Test
-    public void testIsCompositeHasChildren() {
+    void testIsCompositeHasChildren() {
         final State state1 = new State();
 
         final State state = new State();
@@ -126,7 +126,7 @@ public class StateTest {
     }
 
     @Test
-    public void testIsCompositeParallel() {
+    void testIsCompositeParallel() {
         final State child = new State();
 
         final State state = new State();
@@ -136,7 +136,7 @@ public class StateTest {
     }
 
     @Test
-    public void testIsRegion() {
+    void testIsRegion() {
         final State state = new State();
         state.setParent(new Parallel());
 
@@ -144,7 +144,7 @@ public class StateTest {
     }
 
     @Test
-    public void testIsRegionNotParallel() {
+    void testIsRegionNotParallel() {
         final State state = new State();
         state.setParent(new State());
 
@@ -152,13 +152,13 @@ public class StateTest {
     }
 
     @Test
-    public void testIsSimple() {
+    void testIsSimple() {
         final State state = new State();
         Assertions.assertTrue(state.isSimple());
     }
 
     @Test
-    public void testIsSimpleHasChildren() {
+    void testIsSimpleHasChildren() {
         final State state1 = new State();
 
         final State state = new State();
diff --git 
a/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java 
b/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java
index fdde921c..a0c86b73 100644
--- a/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/StatelessModelTest.java
@@ -34,7 +34,7 @@ public class StatelessModelTest {
      * TODO: Test sharing two SCXML objects between one executor (not 
recommended)
      *
     @Test
-    public void testStatelessModelParallelSwapSCXML() throws Exception {
+    void testStatelessModelParallelSwapSCXML() throws Exception {
         SCXML scxml01par = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/model/stateless-parallel-01.xml");
         SCXML scxml02par = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/model/stateless-parallel-01.xml");
         SCXMLExecutor exec01 = SCXMLTestHelper.getExecutor(scxml01par);
@@ -131,7 +131,7 @@ public class StatelessModelTest {
      * Test sharing a single SCXML object between two executors
      */
     @Test
-    public void testStatelessModelParallelSharedSCXML() throws Exception {
+    void testStatelessModelParallelSharedSCXML() throws Exception {
         final SCXML scxml01par = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/model/stateless-parallel-01.xml");
         final SCXMLExecutor exec01 = SCXMLTestHelper.getExecutor(scxml01par);
         exec01.go();
@@ -162,7 +162,7 @@ public class StatelessModelTest {
      * Test the stateless model, sequential executions, JEXL expressions
      */
     @Test
-    public void testStatelessModelSequentialJexl() throws Exception {
+    void testStatelessModelSequentialJexl() throws Exception {
         // rinse and repeat
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/env/jexl/stateless-01.xml");
         for (int i = 0; i < 3; i++) {
@@ -176,7 +176,7 @@ public class StatelessModelTest {
      * Test the stateless model, simultaneous executions, JEXL expressions
      */
     @Test
-    public void testStatelessModelSimultaneousJexl() throws Exception {
+    void testStatelessModelSimultaneousJexl() throws Exception {
        // parse once, use many times
         final SCXML scxml = 
SCXMLTestHelper.parse("org/apache/commons/scxml2/env/jexl/stateless-01.xml");
         final SCXMLExecutor exec01 = SCXMLTestHelper.getExecutor(scxml);
diff --git 
a/src/test/java/org/apache/commons/scxml2/model/TransitionTargetTest.java 
b/src/test/java/org/apache/commons/scxml2/model/TransitionTargetTest.java
index 58c92268..55977163 100644
--- a/src/test/java/org/apache/commons/scxml2/model/TransitionTargetTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/TransitionTargetTest.java
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test;
 public class TransitionTargetTest {
 
     @Test
-    public void testIsDescendantEqual() {
+    void testIsDescendantEqual() {
         final State state = new State();
         final State context = new State();
         state.setParent(context);
@@ -31,7 +31,7 @@ public class TransitionTargetTest {
     }
 
     @Test
-    public void testIsDescendantNotEqual() {
+    void testIsDescendantNotEqual() {
         final State state = new State();
         state.setParent(new State());
         final State context = new State();
@@ -40,7 +40,7 @@ public class TransitionTargetTest {
     }
 
     @Test
-    public void testIsDescendantNullParent() {
+    void testIsDescendantNullParent() {
         final State state = new State();
         final State context = new State();
 
@@ -48,7 +48,7 @@ public class TransitionTargetTest {
     }
 
     @Test
-    public void testIsDescendantParentEqual() {
+    void testIsDescendantParentEqual() {
         final State state = new State();
         final State context = new State();
         final State parent = new State();
diff --git a/src/test/java/org/apache/commons/scxml2/model/TransitionTest.java 
b/src/test/java/org/apache/commons/scxml2/model/TransitionTest.java
index d6b2a905..35e6a62d 100644
--- a/src/test/java/org/apache/commons/scxml2/model/TransitionTest.java
+++ b/src/test/java/org/apache/commons/scxml2/model/TransitionTest.java
@@ -30,7 +30,7 @@ public class TransitionTest {
     }
 
     @Test
-    public void testGetTargets() {
+    void testGetTargets() {
         Assertions.assertEquals(0, transition.getTargets().size());
 
         final State state = new State();
diff --git 
a/src/test/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.java 
b/src/test/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.java
index 3e3648ad..587b5d28 100644
--- 
a/src/test/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.java
+++ 
b/src/test/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImplTest.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
 public class SCXMLSemanticsImplTest {
 
     @Test
-    public void testIsLegalConfigInvalidParallel() {
+    void testIsLegalConfigInvalidParallel() {
         final Set<EnterableState> states = new HashSet<>();
         final Parallel parallel = new Parallel();
 
@@ -57,7 +57,7 @@ public class SCXMLSemanticsImplTest {
     }
 
     @Test
-    public void testIsLegalConfigMultipleStatesActive() {
+    void testIsLegalConfigMultipleStatesActive() {
         final Set<EnterableState> states = new HashSet<>();
 
         final State state1 = new State();
@@ -83,7 +83,7 @@ public class SCXMLSemanticsImplTest {
     }
 
     @Test
-    public void testIsLegalConfigMultipleTopLevel() {
+    void testIsLegalConfigMultipleTopLevel() {
         final Set<EnterableState> states = new HashSet<>();
 
         final State state1 = new State();
@@ -102,7 +102,7 @@ public class SCXMLSemanticsImplTest {
     }
 
     @Test
-    public void testIsLegalConfigNoStates() {
+    void testIsLegalConfigNoStates() {
         final Set<EnterableState> states = new HashSet<>();
 
         Assertions.assertTrue(new 
SCXMLSemanticsImpl().isLegalConfiguration(states, new SimpleErrorReporter()));

Reply via email to