IEqualityComparer<T> defines equality and hash-code operations for values of type T. In unit tests, xUnit.net Assert.Equal uses it to compare objects created from custom classes. section 6.3.5
Comparing Product objects
A controller test compares expected Product values with the Index action model by matching each product's Name and Price through Comparer.Get<Product>(...).
