public FullDataSet?GetUserData(string userId)
        {
            var serializedData = HandleErrorsAndLock(() => _persistentStore.GetValue(_environmentNamespace, KeyForUserId(userId)));

            if (serializedData is null)
            {
                return(null);
            }
            try
            {
                return(DataModelSerialization.DeserializeAll(serializedData));
            }
            catch (Exception e)
            {
                LogHelpers.LogException(_log, "Failed to deserialize data from persistent store", e);
                return(null);
            }
        }
 public void GetValueUnknownNamespace()
 {
     _storage.SetValue(TestNamespace1, "key1", "x");
     Assert.Null(_storage.GetValue(TestNamespaceThatIsNeverSet, "key1"));
 }