added a comment - - edited
There seems to be no way to create an empty SymbolicMLRulesModel after the changes (default constructor creates example model), so MLRulesModelFileWriterTest#testGenerateSource now fails, as there is species named A() in the example model and the test model.
See https://altair.informatik.uni-rostock.de/bamboo/browse/JAMESII-DEVTEST-TESTDEV-351/test/case/3148511
junit.framework.AssertionFailedError: Model Loading should produce no errors.
ParseError=A already defined
seed =5291136119039979520
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertFalse(Assert.java:34)
at org.jamesii.model.mlrules.writer.antlr.AbstractMLRulesModelFileWriterTest.testGenerateSource(AbstractMLRulesModelFileWriterTest.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at org.jamesii.ChattyTestCase.run(ChattyTestCase.java:58)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at [...]
made the new syntax the default syntax