Class KafkaMatchers.ConsumerRecordValueMatcher<V>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,V>>
-
- org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordValueMatcher<V>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,V>>
,org.hamcrest.SelfDescribing
- Enclosing class:
- KafkaMatchers
public static class KafkaMatchers.ConsumerRecordValueMatcher<V> extends org.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,V>>
-
-
Constructor Summary
Constructors Constructor Description ConsumerRecordValueMatcher(V payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
protected boolean
matches(java.lang.Object item, org.hamcrest.Description mismatchDescription)
-
-
-
Constructor Detail
-
ConsumerRecordValueMatcher
public ConsumerRecordValueMatcher(V payload)
-
-
Method Detail
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
matches
protected boolean matches(java.lang.Object item, org.hamcrest.Description mismatchDescription)
- Specified by:
matches
in classorg.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,V>>
-
-