package org.jboss.soa.esb.quickstart.test;
import junit.framework.Test;
import org.jboss.soa.esb.samples.quickstart.monitoringaction.test.SendJMSMessage;
public class MonitoringActionTest extends AbstractQuickstartTestCase {
public MonitoringActionTest(String name) {
super(name);
}
public void testMonitoringAction() throws Exception {
clearMessages();
SendJMSMessage sm = new SendJMSMessage();
sm.setupConnection();
sm.sendAMessage("3");
sm.stop();
clearMessages();
SendJMSMessage smm = new SendJMSMessage();
smm.setupConnection();
smm.sendAMessage("14");
smm.stop();
clearMessages();
SendJMSMessage sms = new SendJMSMessage();
sms.setupConnection();
sms.sendAMessage("23");
sms.stop();
}
public static Test suite() throws Exception {
return getDeploySetup(MonitoringActionTest.class, "QuickstartMessageStoreServer.sar, Quickstart_monitoring_action.esb");
}
}