Class MessageQueueMatcher.Extractor<R,T>

java.lang.Object
org.springframework.cloud.stream.test.matcher.MessageQueueMatcher.Extractor<R,T>
Type Parameters:
R - input type
T - return type
All Implemented Interfaces:
Function<R,T>, org.hamcrest.SelfDescribing
Enclosing class:
MessageQueueMatcher<T>

public abstract static class MessageQueueMatcher.Extractor<R,T> extends Object implements Function<R,T>, org.hamcrest.SelfDescribing
A transformation to be applied to a received message before asserting, e.g. to only inspect the payload.
  • Constructor Details

    • Extractor

      protected Extractor(String behaviorDescription)
  • Method Details

    • describeTo

      public void describeTo(org.hamcrest.Description description)
      Specified by:
      describeTo in interface org.hamcrest.SelfDescribing