When writing the unit tests I stumbled upon the following:
String testString = "attack 200 1542";
If this is executed, following error appears in the console:
"the targetMonsterIndex must be in range: 1542, expected: [0, 5)"
Expected output would be: "Action not allowed". The code fails on creation of the AtackMonsterAction, where Arguments.requireInRange(targetMonsterIndex, 0, targetPlayer.getField().getMonsterCapacity(), "targetMonsterIndex"); throws the IndexOutOfRangeException