class ConvertRecord {

    public static Map<String, Set<String>> convertCustomProperties(List<CSVRecord> records){
        Map<String, Set<String>> resultProperties = new HashMap<>();
        for (CSVRecord record : records){
            if(! isValidPropertyRecord(record)){
                break;
            }
            String property = record.get(1).trim();
            String value = record.get(2).trim();
            addPropertyAndValueToMap(property, value, resultProperties);
        }
        return resultProperties;
    }

    private  ConvertRecord();

}