예제 #1
0
        protected void TestPutGetAsync(IRemoteCache <string, string> cache)
        {
            Task <string> putAsync = cache.PutAsync(K1, V1);

            Assert.IsNull(putAsync.Result);
            Task <string> getAsync = cache.GetAsync(K1);

            Assert.AreEqual(V1, getAsync.Result);
        }