public void TestSetsIntersect() { const string key1 = "TestSetsIntersect1"; var values1 = new[] { "a", "c" }; const string key2 = "TestSetsIntersect2"; var values2 = new[] { "a", "b" }; redisContext.AddToSet(key1, values1); redisContext.AddToSet(key2, values2); var results = redisContext.IntersectSets(new[] { key1, key2 }); CollectionAssert.AreEquivalent(new[] { "a" }, results); }