I would rather mock the query instead of mocking repositories but I suppose you do not will not accept that solution.