use of org.activiti.api.runtime.shared.events.VariableEventListener in project Activiti by Activiti.
the class ConformanceBasicProcessRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
ProcessRuntimeConfiguration configuration = processRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = configuration.processEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
// then
assertThat(processRuntimeEventListeners).isNotEmpty();
assertThat(variableEventListeners).isNotEmpty();
}
use of org.activiti.api.runtime.shared.events.VariableEventListener in project Activiti by Activiti.
the class ConformanceBasicProcessRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
ProcessRuntimeConfiguration configuration = processRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = configuration.processEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
// then
assertThat(processRuntimeEventListeners).hasSize(11);
assertThat(variableEventListeners).hasSize(3);
}
Aggregations