public class MessagePredicate extends Object implements java.util.function.Predicate<Message<?>>
@Test
public void testSomething() {
Message<String> expected = ...;
Message<String> result = ...;
assertThat(result).matches(new MessagePredicate(expected));
}
| Constructor and Description |
|---|
MessagePredicate(Message<?> operand,
String... ignoredHeaders) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(Message<?> input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, isEqual, negate, orpublic boolean test(Message<?> input)
test in interface java.util.function.Predicate<Message<?>>