import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.util.LinkedHashMap;
<BUG>import java.util.Map;
import static no.digipost.api.client.representations.Channel.PRINT;</BUG>
import static no.digipost.api.client.representations.FileType.PDF;
import static no.digipost.print.validate.PdfValidationResult.EVERYTHING_OK;
<BUG>import static no.motif.Iterate.on;
import static no.motif.Singular.none;
import static no.motif.Singular.optional;</BUG>
import static org.apache.commons.io.IOUtils.toByteArray;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Optional;
import java.util.function.Supplier;
import static java.util.Optional.empty;
import static no.digipost.api.client.representations.Channel.PRINT;
import static no.digipost.api.client.representations.FileType.PDF;
import static no.digipost.print.validate.PdfValidationResult.EVERYTHING_OK;
import static org.apache.commons.io.IOUtils.toByteArray;
