inboundSMSMessageList.setResourceURL(resourceURL);
java.util.Date message1DT=makeUTCDateTime(2009, Calendar.NOVEMBER, 19, 12, 0, 0);
String messageId1="msg1";
String resourceURL1=getRequestHostnameAndContext(request)+request.getServletPath()+"/1/smsmessaging/inbound/registrations/"+urlEncode(registrationId)+"/messages/"+urlEncode(messageId1);
InboundSMSMessage message1=new InboundSMSMessage(message1DT, "3456", messageId1, "Come on Barca!", resourceURL1, "+447825123456");
java.util.Date message2DT=makeUTCDateTime(2009, Calendar.NOVEMBER, 19, 14, 30, 25);
String messageId2="msg2";
String resourceURL2=getRequestHostnameAndContext(request)+request.getServletPath()+"/1/smsmessaging/inbound/registrations/"+urlEncode(registrationId)+"/messages/"+urlEncode(messageId2);
InboundSMSMessage message2=new InboundSMSMessage(message2DT, "3456", messageId2, "Great goal by Messi", resourceURL2, "+447825789123");
if (maxBatchSize==1) {
InboundSMSMessage[] messages={message1};
inboundSMSMessageList.setNumberOfMessagesInThisBatch(1);
inboundSMSMessageList.setInboundSMSMessage(messages);