Mock resolvers and query arguments

Continuing the discussion from Do mock resolvers take inputs?:

The above was posted back in Oct '21, and got no reply. It’s still a valid question, as the documentation does not show an example.

So, to ask again: Can a mock be built that returns different values based on query arguments?