@Test(expected = MessageEOFException.class) public void testPopWithNewMessageToSendThrowsMEOFE() throws Exception { AmqpJmsStreamMessageFacade amqpStreamMessageFacade = createNewStreamMessageFacade(); amqpStreamMessageFacade.pop(); }
@Override public void pop() throws MessageEOFException { if (list.isEmpty() || position >= list.size()) { throw new MessageEOFException("Attempt to read past end of stream"); } position++; }
AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade { @Override public void pop() throws MessageEOFException { if (list.isEmpty() || position >= list.size()) { throw new MessageEOFException("Attempt to read past end of stream"); } position++; } }
AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade { @Override public void pop() throws MessageEOFException { if (list.isEmpty() || position >= list.size()) { throw new MessageEOFException("Attempt to read past end of stream"); } position++; }  }
AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade { @Override public void pop() throws MessageEOFException { if (list.isEmpty() || position >= list.size()) { throw new MessageEOFException("Attempt to read past end of stream"); } position++; }  @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(); }
AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade { @Override public void pop() throws MessageEOFException { if (list.isEmpty() || position >= list.size()) { throw new MessageEOFException("Attempt to read past end of stream"); } position++; }  @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();  }