Map<Document, InputStream> documentsAndInputStream){
Message singleChannelMessage = Message.copyMessageWithOnlyPrintDetails(messageToCopy);
setPrintContentToUUID(documentsAndContent, documentsAndInputStream, singleChannelMessage.getAllDocuments());
return singleChannelMessage;
}
<BUG>static void setDigipostContentToUUID(Map<String, DocumentContent> documentsAndContent, Map<Document, InputStream> documentsAndInputstream, List<Document> allDocuments) {

for(Document doc : allDocuments) {
documentsAndInputstream.put(doc, documentsAndContent.get(doc.uuid).getDigipostContent());
</BUG>
}

Map<Document, InputStream> documentsAndInputStream){
Message singleChannelMessage = Message.copyMessageWithOnlyDigipostDetails(messageToCopy);
setDigipostContentToUUID(documentsAndContent, documentsAndInputStream, singleChannelMessage.getAllDocuments());
return singleChannelMessage;
