@DefaultAnnotation(edu.umd.cs.findbugs.annotations.NonNull.class)
Package org.faktorips.testsupport.matchers
Hamcrest
Matchers for use in JUnit tests of Faktor-IPS (generated)
code.
Use IpsMatchers' static factory methods to create instances
of these matchers.
-
Class Summary Class Description EmptyMessageListMatcher Matches aMessageListif itis empty.MessageCodeMatcher Matches aMessageif it'smessage codeis the givenmessageCode.MessageInvalidObjectMatcher Checks whether aMessagecontains the given invalid object.MessageListCodeMatcher Checks whether aMessageListcontains aMessagewith a certain message code.MessageListMessageMatcher Matches aMessageListif one of it'sMessagesis matched by the givenMatcher<Message>.MessageListObjectPropertyMatcher Matches aMessageListif it contains a given number ofMessageswith a givenObjectProperty.MessageListSizeMatcher Matches aMessageList'ssize.MessageSeverityMatcher Matches aMessageif it'sseverityis the givenSeverity.