The Equals method is a Query. The test uses a Mock to verify that Equals forwards correct call to the supplied comparer.

Do you mean that this test verifies an implementation detail?