using System.Diagnostics.CodeAnalysis; using Bit.Core.Entities; namespace Bit.Infrastructure.EFIntegration.Test.Repositories.EqualityComparers { public class SsoUserCompare : IEqualityComparer { public bool Equals(SsoUser x, SsoUser y) { return x.ExternalId == y.ExternalId; } public int GetHashCode([DisallowNull] SsoUser obj) { return base.GetHashCode(); } } }