public async Task update_with_message_that_uses_saga_identity_attributed_property() { await send(new GuidStart { Id = stateId, Name = "Croaker" }); var message = new GuidDoThree { TheSagaId = stateId }; await send(message); var state = LoadState(stateId); state.ThreeCompleted.ShouldBeTrue(); }
public void Handles(GuidDoThree message) { State.ThreeCompleted = true; }
public void Handles(GuidDoThree message, GuidWorkflowState state) { state.ThreeCompleted = true; }