コード例 #1
0
        public void RedisStorageDoesntAllowUpdatingNotExistingObject()
        {
            var objectToStore = "my object";
            var objectName = Guid.NewGuid().ToString();

            using (var storage = new RedisStorage(RedisStorageTests.Host))
            {
                Assert.That(() => storage.Update(objectName, objectToStore), Throws.Exception);
            }
        }