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