public void Setup() { _builder = new HistoryEventsBuilder(); var cancelledActivityEventGraph = _builder.ActivityCancelledGraph(Identity.New(_activityName, _activityVersion, _positionalName), _identity, _detail); _activityCancelledEvent = new ActivityCancelledEvent(cancelledActivityEventGraph.First(), cancelledActivityEventGraph); }
public void Setup() { _builder = new EventGraphBuilder(); var scheduleId = Guflow.Decider.Identity.New(ActivityName, ActivityVersion, PositionalName).ScheduleId(); var cancelledActivityEventGraph = _builder.ActivityCancelledGraph(scheduleId, Identity, Detail); _activityCancelledEvent = new ActivityCancelledEvent(cancelledActivityEventGraph.First(), cancelledActivityEventGraph); }