### Question:
AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade { @Override public void clearBody() { list.clear(); position = 0; }  @Override AmqpJmsStreamMessageFacade copy(); @Override byte getJmsMsgType(); @Override boolean hasNext(); @Override Object peek(); @Override void pop(); @Override void put(Object value); @Override void reset(); @Override void clearBody(); @Override boolean hasBody(); @Override JmsStreamMessage asJmsMessage();  }### Answer:
@Test public void testClearBody() throws Exception { AmqpJmsStreamMessageFacade amqpStreamMessageFacade = createNewStreamMessageFacade(); amqpStreamMessageFacade.put(Boolean.TRUE); amqpStreamMessageFacade.put(Boolean.FALSE); assertEquals("unexpected value", Boolean.TRUE, amqpStreamMessageFacade.peek()); amqpStreamMessageFacade.pop(); amqpStreamMessageFacade.clearBody(); amqpStreamMessageFacade.put(Character.valueOf('c')); assertEquals("unexpected value", Character.valueOf('c'), amqpStreamMessageFacade.peek()); amqpStreamMessageFacade.pop(); try { amqpStreamMessageFacade.peek(); fail("expected exception to be thrown"); } catch (MessageEOFException meofe) { } }