public void AsyncServerStreamingCall_returns_builder(IEnumerable <HelloReply> responses) { var call = TestCallBuilder.AsyncServerStreamingCall(responses); Assert.That(call, Is.InstanceOf <AsyncServerStreamingTestCallBuilder <HelloReply> >()); }
public void AsyncDuplexStreamingCall_returns_builder(IClientStreamWriter <HelloRequest> requests, IEnumerable <HelloReply> responses) { var call = TestCallBuilder.AsyncDuplexStreamingCall(requests, responses); Assert.That(call, Is.InstanceOf <AsyncDuplexStreamingTestCallBuilder <HelloRequest, HelloReply> >()); }
public void AsyncUnaryCall_returns_builder(Task <HelloReply> response) { var call = TestCallBuilder.AsyncUnaryCall(response); Assert.That(call, Is.InstanceOf <AsyncUnaryTestCallBuilder <HelloReply> >()); }