messages[i] = createMessage(i);
messages[i] = createMessage((byte)i);
   protected Message[] createMessages() throws Exception   {      //Generate some messages with a good range of attribute values      Message[] messages = new Message[10];      for (int i = 0; i < 10; i++)      {                     messages[i] = createMessage(i);      }      return messages;   }