//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Deployment public void testIntermediateSignalEvent() public virtual void testIntermediateSignalEvent() { // given //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final java.util.List<String> timerEvents = new java.util.ArrayList<String>(); IList <string> timerEvents = new List <string>(); EmbeddedProcessApplication processApplication = new EmbeddedProcessApplicationAnonymousInnerClass10(this, timerEvents); // register app so that it is notified about events managementService.registerProcessApplication(deploymentId, processApplication.Reference); // when runtimeService.startProcessInstanceByKey("process"); runtimeService.signalEventReceived("abort"); // then assertEquals(2, timerEvents.Count); // "start" event listener assertEquals([email protected]_Fields.EVENTNAME_START, timerEvents[0]); // "end" event listener assertEquals([email protected]_Fields.EVENTNAME_END, timerEvents[1]); }
public ExecutionListenerAnonymousInnerClass9(EmbeddedProcessApplicationAnonymousInnerClass10 outerInstance) { this.outerInstance = outerInstance; }