Last active
November 14, 2018 14:42
-
-
Save KevinDJones/0b3dead7a3b2a9d2e917e6599f0a9180 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clientMock = new Mock<DurableOrchestrationClientBase>(); | |
var logMock = new Mock<ILogger>(); | |
clientMock.Setup(context => context.StartNewAsync("O_SendEmail", It.IsAny<object>())).Returns(Task.FromResult(orchestrationId)); | |
var result = await MyStarter.Run(requestMessage, this.clientMock.Object, this.logMock.Object); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment