public async Task given_store_config_in_database_equal_false_config_should_not_be_updated() { _defaultConfig.StoreConfigInDatabase = false; await _configManager.UpdateAsync(_defaultConfig); await _configRepository.DidNotReceiveWithAnyArgs().GetAsync(Arg.Any <string>()); await _configRepository.DidNotReceiveWithAnyArgs().AddAsync(Arg.Any <NdmConfig>()); await _configRepository.DidNotReceiveWithAnyArgs().UpdateAsync(Arg.Any <NdmConfig>()); }