Esempio n. 1
0
        public async Task Can_RenameKey()
        {
            await RedisAsync.SetValueAsync("oldkey", "val");

            await NativeAsync.RenameAsync("oldkey", "newkey");

            Assert.That(await RedisAsync.ContainsKeyAsync("oldkey"), Is.False);
            Assert.That(await RedisAsync.ContainsKeyAsync("newkey"), Is.True);
        }