public void Dispose() { CountryCodes.SetProvider(() => null); }
public void Provider_Can_Not_Be_Null() { Action action = () => CountryCodes.SetProvider(null); action.Should().Throw <ArgumentNullException>(); }
public RegisterCountryCodes(ICountryCodeProvider instance) { _instance = instance; CountryCodes.SetProvider(() => _instance); }