class ApiCommandUtil {

    public static List<String> getFailedCommandMessages(ApiCommandList apiCommandList) {
        List<ApiCommand> failedCommands = getFailedCommands(apiCommandList);
        LOGGER.debug("Failed commands: {}", failedCommands);
        return failedCommands.stream().map(ApiCommandUtil::formatToLine).collect(toList());
    }

    private  ApiCommandUtil();

}