clebertsuconic commented on code in PR #4840:
URL: https://github.com/apache/activemq-artemis/pull/4840#discussion_r1512084416


##########
tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/AmqpMessage.java:
##########
@@ -640,6 +640,11 @@ public String getText() throws NoSuchElementException {
       throw new NoSuchElementException("Message does not contain a String 
body");
    }
 
+   public byte[] getBytes() {
+      Data body = (Data)getWrappedMessage().getBody();
+      return body.getValue().getArray();

Review Comment:
   I just wanted to assert a few bytes[] that were set with setBytes([]).
   
   I have no idea on what I'm supposed to do here. I will just revert the test 
addition.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to