Jean-Francois Leveque

Simplification spécification de type

...@@ -29,7 +29,7 @@ public class ListCountriesViewTest { ...@@ -29,7 +29,7 @@ public class ListCountriesViewTest {
29 29
30 @BeforeEach 30 @BeforeEach
31 public void setup(@Mock SharedService sharedService) throws Exception { 31 public void setup(@Mock SharedService sharedService) throws Exception {
32 - countryList = new ArrayList<Country>(); 32 + countryList = new ArrayList<>();
33 33
34 listCountriesView = new ListCountriesView(sharedService); 34 listCountriesView = new ListCountriesView(sharedService);
35 when(sharedService.getAllCountries()).thenReturn(countryList); 35 when(sharedService.getAllCountries()).thenReturn(countryList);
......