-
Notifications
You must be signed in to change notification settings - Fork 0
Expectations
eugeneshayunov edited this page Oct 22, 2020
·
1 revision
GodelTech.StoryLine.Utils contains the following expectations:
-
Artifactthis expectation allows to verify that specific artifact in actor's collection matches expectation.
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.