/Source/Bifrost.Specs/Sagas/for_SagaConverter/given/a_saga_with_one_event.cs
C# | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | 73b161ee05ff42426252f6d4bede0725 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
- using System;
- using Bifrost.Fakes.Events;
- using Machine.Specifications;
-
- namespace Bifrost.Specs.Sagas.for_SagaConverter.given
- {
- public class a_saga_with_one_event : a_saga_converter_and_a_saga
- {
- protected static SimpleEvent simple_event;
-
- Establish context = () =>
- {
- simple_event = new SimpleEvent(Guid.NewGuid());
- saga.SetUncommittedEvents(new[] { simple_event });
- };
-
- }
- }