I have a server streaming service. Want to write UTs for the C++ client 
that uses aync callback APIs using gmocks. I have mocked the 
Service::StubInterface::async_interface and 
GrpcEndpointInfoService::StubInterface so that when I call 
the stub->async->method I call the mocked function. However,
how do I prevent the StartCall from being called. Witouth the
actual reactor being ever passed to gRPC stack, calling StartCall
Crashes my UT. 

Any example of how to write UT for the client side for 
c++ callback APIS witout writing th server would be super useful

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/eeefdc1f-84bb-4821-8825-e55a73f69ae3n%40googlegroups.com.

Reply via email to