GetCountryCodes() public method

public GetCountryCodes ( ) : List
return List
 public void countrycodeservice_can_get_country_codes_test()
 {
     //given
     ICountryCodeService service = new CountryCodeService(new JsonSerializationService<ISOCountryCodeCollection>());
     //when
     var countryCodes = service.GetCountryCodes();
     //then
     countryCodes.Should().NotBeNull();
 }
 private void LoadCountries()
 {
     ICountryCodeService service = new CountryCodeService(new JsonSerializationService<ISOCountryCodeCollection>());
     var countryCodes = service.GetCountryCodes();
     foreach (var countryCode in countryCodes)
     {
         _bindingListCountries.Add(countryCode);
     }
     bsCountries.DataSource = _bindingListCountries;
     _bindingListCountries.AllowEdit = false;
 }