Expectations - GodelTech/GodelTech.StoryLine.Utils GitHub Wiki

GodelTech.StoryLine.Utils contains the following expectations:

  • Artifact this expectation allows to verify that specific artifact in actor's collection matches expectation.

Artifact

This expectation allows to verify that specific artifact in actor's collection matches expectation. Here is example of expectation usage:

                    .Expects<Artifact<RefundDocument>>(x => x
                        .Meets(p => p.Status.Should().Be(expectedStatus)))

Artifact accepts type of artifact to find in actor's artifact collection. If artifact is not found exception is thrown.