// Path: src/main/java/com/github/vedenin/codingchallenge/mvc/model/CountryService.java
// public interface CountryService {
//     List<String> getCountriesNames();
// }
// 
// Path: src/main/java/com/github/vedenin/codingchallenge/mvc/model/CountryServiceImpl.java
// @Service
// public class CountryServiceImpl implements CountryService {
//     @Override
//     public List<String> getCountriesNames() {
//         return Arrays.stream(Locale.getISOCountries()).
//                 map((code)->new Locale("en", code)).
//                 map(Locale::getDisplayCountry).
//                 sorted().
//                 collect(Collectors.toList());
//     }
// }


import com.github.vedenin.codingchallenge.mvc.model.CountryService;
import com.github.vedenin.codingchallenge.mvc.model.CountryServiceImpl;
import org.junit.Assert;
import org.junit.Test;
import java.util.List;
package com.github.vedenin.codingchallenge;



/**
 * Created by slava on 12.02.17.
 */
public class CountryServiceTest {
    @Test
    public void testService() {
// Path: src/main/java/com/github/vedenin/codingchallenge/mvc/model/CountryService.java
// public interface CountryService {
//     List<String> getCountriesNames();
// }
// 
// Path: src/main/java/com/github/vedenin/codingchallenge/mvc/model/CountryServiceImpl.java
// @Service
// public class CountryServiceImpl implements CountryService {
//     @Override
//     public List<String> getCountriesNames() {
//         return Arrays.stream(Locale.getISOCountries()).
//                 map((code)->new Locale("en", code)).
//                 map(Locale::getDisplayCountry).
//                 sorted().
//                 collect(Collectors.toList());
//     }
// }


// Path: src/test/java/com.github.vedenin.codingchallenge/CountryServiceTest.java
import com.github.vedenin.codingchallenge.mvc.model.CountryService;
import com.github.vedenin.codingchallenge.mvc.model.CountryServiceImpl;
import org.junit.Assert;
import org.junit.Test;
import java.util.List;

package com.github.vedenin.codingchallenge;



/**
 * Created by slava on 12.02.17.
 */
public class CountryServiceTest {
    @Test
    public void testService() {
        CountryService countryService = new CountryServiceImpl();