class FormInputResponseServiceImpl implements FormInputResponseService {

    @Override
    public Map<Long, FormInputResponseResource> mapFormInputResponsesToFormInput(List<FormInputResponseResource> responses) {
        return simpleToMap(
                responses,
                response -> response.getFormInput(),
                response -> response
        );
    }

}