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
?
Are there any Matchers available for the Faktor-IPS MessageList?
79 Views Asked by Jan Ortmann At
2
There are 2 best solutions below
0

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.
There are specific matchers for
org.faktorips.runtime.MessageList
inde.faktorzehn.commons.ips.test.matcher.IpsMatchers
available.Unfortunately this is not part of Faktor-IPS.