コード例 #1
0
        public void TestUpdateByRandomKey()
        {
            var randomKey = Guid.NewGuid().ToString();

            var exception = Assert.Catch <KeyValueRepositoryException>(() => keyValueRepository.Update(randomKey, "value"));

            exception.Should().NotBeNull();
        }