*/
public void testOK_WithOneMessage() throws IOException{
byte [] oneEncodedMessage = {'A','M','2',23,23,23,4,10,11,12,2,1,3,-22};
Message multiMessage = new ByteBufferMessage();
multiMessage.appendData(oneEncodedMessage);
MessageTokenizer tokenizer = new MessageTokenizer(multiMessage);
assertEquals(1, tokenizer.countTokens());
assertEquals(tokenizer.nextElement(),oneEncodedMessage);
assertFalse(tokenizer.hasMoreElements());