public void When_Different_KeyType_And_Different_Name() { var key1 = new ProviderCacheKey <CustomClientKey1>("test1"); var key2 = new ProviderCacheKey <TestClientKey2>("test2"); key2.Should().NotBe(key1); }
public void When_Same_KeyType_And_Name() { var key1 = new ProviderCacheKey <CustomClientKey1>("test"); var key2 = new ProviderCacheKey <CustomClientKey1>("test"); key2.Should().Be(key1); }