예제 #1
0
        public void AddShouldAddToAvailableSagaData()
        {
            var someSagaData = new SomeSagaData {
                JustSomeText = Guid.NewGuid().ToString()
            };

            var fixture = new SagaFixture <SomeSagaData>(new SomeSaga())
            {
                someSagaData
            };

            fixture.OfType <SomeSagaData>().First().JustSomeText.ShouldBe(someSagaData.JustSomeText);
        }