@Test
public void testCaseInstanceWithOneState() {
CaseExecutionStateTransitionCollector stateTransitionCollector = new CaseExecutionStateTransitionCollector();
CmmnCaseDefinition caseDefinition = new CaseDefinitionBuilder("Case1")
.listener("create", stateTransitionCollector)
.createActivity("X")
.listener("create", stateTransitionCollector)
.listener("enable", stateTransitionCollector)
.listener("manualStart", stateTransitionCollector)