public static void StubResult <TExecutable, TResult>(this ExecutorStubAsync executorStub, IAgreement <TExecutable, TResult> agreement) { executorStub.StubResult <TExecutable>(agreement.Result()); }
public static void VerifySingleExecuted <TExecutable>(this ExecutorStubAsync executorStub, IAgreement <TExecutable> agreement) { executorStub.SingleExecuted <TExecutable>().Should().BeEquivalentTo(agreement.Executable()); }