public void ReNameKeyWithOutCoverTest_Success() { string oldKey = "ReNameKeyWithOutCoverTest_Success_Old"; string newKey = "ReNameKeyWithOutCoverTest_Success_New"; SetString(oldKey, "good1"); _provider.DeleteKey(newKey); bool isSuccess = _provider.ReNameKeyWithOutCover(oldKey, newKey); isSuccess.ShouldBeTrue(); var value = (_provider as IRedisString).GetString(newKey); value.ShouldBe("good1"); }