### Question:
PossibleActionConverter { public List<PossibleAction> convert( Iterable<PossibleActionEnum> actionEnums) { return Streams.stream(actionEnums) .map(this::convert) .collect(Collectors.toList()); }  List<PossibleAction> convert(
            Iterable<PossibleActionEnum> actionEnums); PossibleAction convert(PossibleActionEnum possibleActionEnum);  }### Answer:
@Test public void convertOne() { PossibleAction converted = new PossibleActionConverter() .convert(PossibleActionEnum.IMPORT_FROM_TOKEN); assertEquals(PossibleAction.IMPORT_FROM_TOKEN, converted); }
@Test public void convertAll() { Set<PossibleAction> allItemsConverted = new HashSet( new PossibleActionConverter() .convert(Arrays.asList(PossibleActionEnum.values()))); Set<PossibleAction> allOpenApiValues = new HashSet( Arrays.asList(PossibleAction.values())); assertTrue(allOpenApiValues.containsAll(allItemsConverted)); assertTrue(allItemsConverted.containsAll(allOpenApiValues)); assertEquals(PossibleAction.values().length, allItemsConverted.size()); }