package org.openehealth.tutorial;
import static org.junit.Assert.assertEquals;
import org.apache.camel.ProducerTemplate;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestExecutionListeners;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;
@RunWith(SpringJUnit4ClassRunner.class)
@TestExecutionListeners({DependencyInjectionTestExecutionListener.class})
@ContextConfiguration(locations = {"/context.xml"})
public class StaticTest {
@Autowired
private ProducerTemplate producerTemplate;
@Test
public void staticTest() throws Exception {
Common.routeTest(producerTemplate);
}
}