private void ValidateSetResults(string key, string[] expected) { var valuesFromRedis = redisContext.GetSetMembers(key); CollectionAssert.AreEquivalent(expected, valuesFromRedis); }