use of nl.nn.adapterframework.testutil.TestConfiguration in project iaf by ibissource.
the class IbisJobDetailTest method setup.
@Before
public void setup() throws ConfigurationException {
Configuration configuration = new TestConfiguration();
jobDef1 = SpringUtils.createBean(configuration, SendMessageJob.class);
jobDef1.setName("fakeName");
jobDef1.setJavaListener("fakeListener");
configuration.registerScheduledJob(jobDef1);
jobDef2 = SpringUtils.createBean(configuration, SendMessageJob.class);
jobDef2.setName("fakeName2");
jobDef2.setJavaListener("fakeListener");
configuration.registerScheduledJob(jobDef2);
}
Aggregations