Class MessageListObjectPropertyMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>
org.faktorips.testsupport.matchers.MessageListObjectPropertyMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.faktorips.runtime.MessageList>,org.hamcrest.SelfDescribing
public class MessageListObjectPropertyMatcher
extends org.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>
Matches a
MessageList if it contains a given number of Messages with a
given ObjectProperty.-
Constructor Summary
ConstructorsConstructorDescriptionMessageListObjectPropertyMatcher(org.faktorips.runtime.ObjectProperty objectProperty) MessageListObjectPropertyMatcher(org.faktorips.runtime.ObjectProperty objectProperty, int count) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(org.faktorips.runtime.MessageList ml) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
MessageListObjectPropertyMatcher
public MessageListObjectPropertyMatcher(org.faktorips.runtime.ObjectProperty objectProperty) -
MessageListObjectPropertyMatcher
public MessageListObjectPropertyMatcher(org.faktorips.runtime.ObjectProperty objectProperty, int count)
-
-
Method Details
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matchesSafely
protected boolean matchesSafely(org.faktorips.runtime.MessageList ml) - Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<org.faktorips.runtime.MessageList>
-