package gov.va.med.esr.messaging.service.retransmission;

import gov.va.med.esr.messaging.util.AbstractMessagingTest;

import gov.va.med.fw.service.ServiceException;
import gov.va.med.fw.util.Reflector;
/**
 * 
 * @author Rajiv Patnaik
 * Created on Sep 7, 2006
 * @version 1.0
 * 
 * Copyright © 2006 VHA. All rights reserved
 */
public class RetransmissionMessagePublisherTest extends AbstractMessagingTest
{
    public void testResend() throws Exception
    {
        Object publisher = applicationContext.getBean("retransmissionMessagePublisher");
        
        //The Message Control Number of the message to be retransmitted
        Object[] params = new Object[] {"20352236"};
        Reflector.invoke(publisher,"resend", params);
        
    }
}
