private static Map<String, String> findPrefixAndSuffix(String input, String ingredientName) throws NoFixesFoundException{

        Map<String, String> fixes = new HashMap<>(2);
        String[] split = input.split(ingredientName);
        if(split.length == 0){
            throw new NoFixesFoundException();
        } else if(split.length == 1){
            if(input.startsWith(ingredientName)){
                fixes.put("suffix", split[0].trim());
            } else {
                fixes.put("prefix", split[0]);
            }
        } else if (split.length == 2){
            fixes.put("prefix", split[0]);
            fixes.put("suffix", split[1].trim());
        }
        return fixes;
    }