public void CheckIfTenantSecretAndTenantClaimsAreNotEquals_ExpectedTenantEqualityComparerResultTrue() { var comparer = new TenantEqualityComparer <Guid, Dictionary <string, object>, Dictionary <string, object> >(); var tenant = new TenantDefault(_secretFirstTenant); Assert.IsFalse(comparer.Equals(tenant, _secretSecondTenant)); }
public void CheckIfTenantSecretAndTenantClaimsAreEquals() { var comparer = new TenantEqualityComparer <Guid>(); var tenant = new TenantDefault(_secretFirstTenant); var tenant1 = new TenantDefault(_claimsFirstTenant); Assert.IsTrue(comparer.Equals(tenant, tenant1)); }