-
Notifications
You must be signed in to change notification settings - Fork 435
Closed
Description
I'm trying to test my grpc layer using ...ServiceTestStub.
If the rpc has a stream I can create all needed to test it. Also If the rpc doesn't have a stream but only if I use the synchronous method.
If I implement the asynchronous call I get an exception fatalError("not implemented")
In the code generated for the stubs seems that there is not implementation for this type of method:
func list_protocols(_ request: Xz_Rpc_Protocol_ListProtocolsRequest, completion: @escaping (Xz_Rpc_Protocol_ListProtocolsResponse?, CallResult) -> Void) throws -> Xz_Rpc_Protocol_ProtocolServicelist_protocolsCall {
fatalError("not implemented")
}
Do I have to create the stub manually to test this type of rpc's?
Metadata
Metadata
Assignees
Labels
No labels