use of org.mule.runtime.core.internal.connector.SchedulerController in project mule by mulesoft.
the class ClusterExtensionMessageSourceTestCase method before.
@Override
public void before() throws Exception {
super.before();
SchedulerController schedulerController = mock(SchedulerController.class);
when(schedulerController.isPrimarySchedulingInstance()).thenReturn(false);
((DefaultMuleContext) muleContext).setSchedulerController(schedulerController);
}
Aggregations