Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomazfernandes committed Aug 20, 2024
1 parent b5a0995 commit c20a89a
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,6 @@ void shouldSendAndReceiveRecordMessageWithoutPayloadInfoHeader() {
assertThat(result).isNotNull();
Optional<Message<SampleRecord>> receivedMessage = template
.receive(from -> from.queue(RECORD_WITHOUT_TYPE_HEADER_QUEUE_NAME), SampleRecord.class);


assertThat(receivedMessage).isPresent();
Message<SampleRecord> message = receivedMessage.get();
SampleRecord actualPayload = message.getPayload();


assertThat(receivedMessage).isPresent().get().extracting(Message::getPayload).isEqualTo(testRecord);
}

Expand Down

0 comments on commit c20a89a

Please sign in to comment.