public void TestSetGetString() { var ds = new AsyncRedisDictionaryService(this.connStr); var futures = new List<AsyncFuture<Void>>(); for (var i = 0; i < 10; i++) { futures.Add(ds.Add("Key" + i, "Value" + i)); } var done = false; while (!done) { done = true; futures .ForEach( future => done &= future.Done); } for (var i = 0; i < 10; i++) { Assert.AreEqual(ds.Get("Key" + i).Get(), "Value" + i); } }