@Test void testConvertList() { List<FreeIpa> freeIpaList = createFreeIpaList(); List<ListFreeIpaResponse> actual = underTest.convertList(freeIpaList); assertEquals(DOMAIN_1, actual.get(0).getDomain()); assertEquals(CRN_1, actual.get(0).getCrn()); assertEquals(ENV_CRN, actual.get(0).getEnvironmentCrn()); assertEquals(NAME, actual.get(0).getName()); assertEquals(Status.AVAILABLE, actual.get(0).getStatus()); assertEquals(DOMAIN_2, actual.get(1).getDomain()); assertEquals(CRN_2, actual.get(1).getCrn()); assertEquals(ENV_CRN, actual.get(1).getEnvironmentCrn()); assertEquals(NAME, actual.get(1).getName()); assertEquals(Status.AVAILABLE, actual.get(1).getStatus()); }
public List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList) { return freeIpaList.stream() .map(this::convert) .collect(Collectors.toList()); }
FreeIpaToListFreeIpaResponseConverter { public List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList) { return freeIpaList.stream() .map(this::convert) .collect(Collectors.toList()); } }
FreeIpaToListFreeIpaResponseConverter { public List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList) { return freeIpaList.stream() .map(this::convert) .collect(Collectors.toList()); }  }
FreeIpaToListFreeIpaResponseConverter { public List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList) { return freeIpaList.stream() .map(this::convert) .collect(Collectors.toList()); }  List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList); }
FreeIpaToListFreeIpaResponseConverter { public List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList) { return freeIpaList.stream() .map(this::convert) .collect(Collectors.toList()); }  List<ListFreeIpaResponse> convertList(List<FreeIpa> freeIpaList);  }