diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-06-08 11:07:19 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-06-08 16:29:19 +0200 |
commit | 1d1070216e70ab7b96b35612f2faa77655de08c0 (patch) | |
tree | 8263af9545b543bc916853b3fc35bc3ce371360e /src/csharp/Grpc.Core.Testing | |
parent | 125596dfc99c5f30da4cb17de0745477f1c32b02 (diff) |
add tests demonstrating how to mock client stubs
Diffstat (limited to 'src/csharp/Grpc.Core.Testing')
-rw-r--r-- | src/csharp/Grpc.Core.Testing/TestCalls.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core.Testing/TestCalls.cs b/src/csharp/Grpc.Core.Testing/TestCalls.cs index ac29a8b974..8c76781bbe 100644 --- a/src/csharp/Grpc.Core.Testing/TestCalls.cs +++ b/src/csharp/Grpc.Core.Testing/TestCalls.cs @@ -65,7 +65,7 @@ namespace Grpc.Core.Testing /// Creates a test double for <c>AsyncDuplexStreamingCall</c>. Only for testing. /// Note: experimental API that can change or be removed without any prior notice. /// </summary> - public static AsyncDuplexStreamingCall<TRequest, TResponse> AsyncDuplexStreamingCall<TResponse, TRequest>( + public static AsyncDuplexStreamingCall<TRequest, TResponse> AsyncDuplexStreamingCall<TRequest, TResponse>( IClientStreamWriter<TRequest> requestStream, IAsyncStreamReader<TResponse> responseStream, Task<Metadata> responseHeadersAsync, Func<Status> getStatusFunc, Func<Metadata> getTrailersFunc, Action disposeAction) |