public void TestSetsDiff() { const string key1 = "testSetDiff1"; var values1 = new[] { "a", "b", "c", "d", "e" }; const string key2 = "testSetDiff2"; var values2 = new[] { "a", "b", }; redisContext.AddToSet(key1, values1); redisContext.AddToSet(key2, values2); var results = redisContext.GetSetsDifference(new[] { key1, key2 }); CollectionAssert.AreEquivalent(new [] { "c", "d", "e" }, results); }