public void GetPersistentDictionary_NotNullKey_ReturnsSameDictionaries()
        {
            // Arrange
            var persistentDictionaryFactory = new PersistentDictionaryFactory();

            // Act
            var firstDictionary = persistentDictionaryFactory.GetPersistentDictionary("test");
            var secondDictionary = persistentDictionaryFactory.GetPersistentDictionary("test");

            // Assert
            Assert.That(firstDictionary, Is.SameAs(secondDictionary));

            persistentDictionaryFactory.Dispose();
        }
        public void GetPersistentDictionary_NotNullKey_ReturnsDictionary()
        {
            // Arrange
            var persistentDictionaryFactory = new PersistentDictionaryFactory();

            // Act
            var dictionary = persistentDictionaryFactory.GetPersistentDictionary("test");

            // Assert
            Assert.That(dictionary, Is.Not.Null);
            Assert.That(dictionary, Is.InstanceOf<PersistentDictionary<string, string>>());

            persistentDictionaryFactory.Dispose();
        }