Exemplo n.º 1
0
        public void AsyncServerStreamingCall_returns_builder(IEnumerable <HelloReply> responses)
        {
            var call = TestCallBuilder.AsyncServerStreamingCall(responses);

            Assert.That(call, Is.InstanceOf <AsyncServerStreamingTestCallBuilder <HelloReply> >());
        }
Exemplo n.º 2
0
        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> >());
        }
Exemplo n.º 3
0
        public void AsyncUnaryCall_returns_builder(Task <HelloReply> response)
        {
            var call = TestCallBuilder.AsyncUnaryCall(response);

            Assert.That(call, Is.InstanceOf <AsyncUnaryTestCallBuilder <HelloReply> >());
        }