Hello!
I’m currently using the brand new iOS beta 1 SDK.
I’m injecting ApolloClientProtocol
into my services.
Is there some documentation or any blog posts that have som best practice on how to mock this protocol.
Because the fetch<Query>
I’m not able to create a simple class where the fetch method stores the result handler in a var
, where the test method then can call it with the response I want.
Thanks