class ChecklistPlanner {

    private void selectChecklists(final List<Checklist> constructed) {
        for (String activeId : activeChecklistIds) {
            if (activeId.isEmpty()) {
                continue;
            }
            List<Checklist> selected = constructed.stream()
                    .filter(checklist -> isChecklistSelected(activeId, checklist)).collect(Collectors.toList());
            checklists.addAll(selected);
            constructed.removeAll(selected);
        }
        inactiveChecklists.addAll(constructed);
    }

    public  ChecklistPlanner(final List<String> activeChecklistIds);

}