static AmqpMessageCoder of() {
    return new AmqpMessageCoder();
  }
@Test
  public void encodeDecodeTooMuchLargerMessage() throws Exception {
    thrown.expect(CoderException.class);
    Message message = Message.Factory.create();
    message.setAddress("address");
    message.setSubject("subject");
    String body = Joiner.on("").join(Collections.nCopies(64 * 1024 * 1024, " "));
    message.setBody(new AmqpValue(body));

    AmqpMessageCoder coder = AmqpMessageCoder.of();

    CoderUtils.encodeToByteArray(coder, message);
  }