Apex: How to Create a ContentDocument file in test class 1:49 PM Use ContentVersion to create the file and use ContentDocumentLink to link the file to a record. Share This Story Share on Facebook Share on Twitter Pin this Post Tags: contentDocument, test data Newer Post Older Post 0 comments
0 comments