public void PopFromRedisTest() { Redishelper.Delete("testRedisList"); Redishelper.Push("testRedisList", "test1"); Redishelper.Push("testRedisList", "test2"); var popObject = Redishelper.Pop <string>("testRedisList"); Assert.AreEqual(popObject, "test1"); }
public void PushToRedisTest() { Redishelper.Delete("testRedisList"); Redishelper.Push("testRedisList", new AAGetModel()); //Assert.AreEqual(resultnumber,1); }