Class MessageListMessageMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>
-
- org.faktorips.testsupport.matchers.MessageListMessageMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<org.faktorips.runtime.MessageList>,org.hamcrest.SelfDescribing
public class MessageListMessageMatcher extends org.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>Matches aMessageListif one of it'sMessagesis matched by the givenMatcher<Message>.
-
-
Constructor Summary
Constructors Constructor Description MessageListMessageMatcher(org.hamcrest.Matcher<org.faktorips.runtime.Message>... messageMatchers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddescribeMismatchSafely(org.faktorips.runtime.MessageList item, org.hamcrest.Description mismatchDescription)voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(org.faktorips.runtime.MessageList messageList)
-
-
-
Method Detail
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
matchesSafely
protected boolean matchesSafely(org.faktorips.runtime.MessageList messageList)
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>
-
describeMismatchSafely
protected void describeMismatchSafely(org.faktorips.runtime.MessageList item, org.hamcrest.Description mismatchDescription)- Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>
-
-