public void the_still_cached_unlocked_state_can_be_retrieved()
        {
            var state = _cache.TryGetPartitionState("partition2");

            Assert.AreEqual("data2", state.State);
        }
Пример #2
0
 public void random_item_cannot_be_retrieved()
 {
     Assert.IsNull(_cache.TryGetPartitionState("random"), "Cache should be empty");
 }
        public void the_state_can_be_retrieved()
        {
            var state = _cache.TryGetPartitionState("partition");

            Assert.AreEqual("data", state.State);
        }