Avoid Common Pitfalls in Tests

Writing JUnit tests for your CER rule sets is largely straight-forward, but there are a number of pitfalls which you should be aware of.

This section shows some test code examples which at first glance look fine, but each of them would fail to produce the required behavior.