Generate queryRefs for unit tests

Is there an idiomatic way to generate query refs with Apollo client for use in unit tests? I’m wondering if we could use the MockLink in a new client, passing in our mocks as we would a MockedProvider, then wrap the client with the query preloader to generate a ref?

That should work, yes.