Example #1
0
        public void NoParametersAreFoundInRegistry_GetAndResetParameters_ThrowsInvalidOperationException()
        {
            _dataStorageFactory.BuildRegistryStorage(RegistryHive.CurrentUser, _installationPathProvider.ApplicationRegistryPath);

            Assert.Throws <InvalidOperationException>(() => _parametersManager.GetAndResetParameters());
        }