Removed query method from mocks after issue 6798

This PR cleans up after #6798 // cc @Ocramius