Are there any Matchers available for the Faktor-IPS MessageList?

79 Views Asked by At

I'm using hamcrest in JUnit-Tests. For the Java collections classes there are Matchers like hasSize available. Are there any Matchers available for the Faktor-IPS org.faktorips.runtime.MessageList?

2

There are 2 best solutions below

0
On BEST ANSWER

There are specific matchers for org.faktorips.runtime.MessageList in de.faktorzehn.commons.ips.test.matcher.IpsMatchers available.
Unfortunately this is not part of Faktor-IPS.

0
On

With the upcoming release 21.12 (RC3 Release Notes), a new package faktorips-testsupport is released on Maven central, which includes Matchers for Messages, MessageLists and ValueSets.