Uses of Class
org.faktorips.testsupport.matchers.MessageListMessageMatcher
Packages that use MessageListMessageMatcher
Package
Description
Utility classes for testing Faktor-IPS (generated) code.
-
Uses of MessageListMessageMatcher in org.faktorips.testsupport
Methods in org.faktorips.testsupport that return MessageListMessageMatcherModifier and TypeMethodDescriptionstatic MessageListMessageMatcherIpsMatchers.containsErrorMessage()Creates aMessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith theSeverity.ERROR.static MessageListMessageMatcherIpsMatchers.hasErrorMessage(String code) Creates aMessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencodeandSeverity.ERROR.static MessageListMessageMatcherIpsMatchers.hasInfoMessage(String code) Creates aMessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencodeandSeverity.INFO.static MessageListMessageMatcherIpsMatchers.hasMessageThat(MessageMatcher messageMatcher) Creates aMatcherthat matches if anyMessagein theMessageListis matched by the givenMatcher.static MessageListMessageMatcherIpsMatchers.hasMessageWithSeverity(org.faktorips.runtime.Severity severity) Creates aMessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givenSeverity.static MessageListMessageMatcherIpsMatchers.hasWarningMessage(String code) Creates aMessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencodeandSeverity.WARNING.