Fix javadoc (previous commit)

This commit is contained in:
Gary Russell
2019-07-30 13:01:03 -04:00
parent 38e591f32c
commit 68a2f01179

View File

@@ -44,11 +44,13 @@ import org.springframework.messaging.Message;
* another {@link Matcher}.
*
* <pre class="code">
* {@code
* ANY_PAYLOAD = new BigDecimal("1.123");
* Message<BigDecimal> message = MessageBuilder.withPayload(ANY_PAYLOAD).build();
* assertThat(message, PayloadMatcher.hasPayload(is(BigDecimal.class)));
* assertThat(message, PayloadMatcher.hasPayload(notNullValue()));
* assertThat(message, not((PayloadMatcher.hasPayload(is(String.class))))); *
* }
* </pre>
*
*