public async Task Build_returns_call_with_response([Frozen] HelloReply result, AsyncServerStreamingTestCallBuilder <HelloReply> sut) { var call = sut.Build(); var items = await call.ResponseStream.ToListAsync(); Assert.That(items[0], Is.SameAs(result)); }
public void Build_returns_call_with_response(AsyncServerStreamingTestCallBuilder <HelloReply> sut) { var call = sut.Build(); Assert.That(call, Is.InstanceOf <AsyncServerStreamingCall <HelloReply> >()); }