Apex
How to get test coverage of co...
About ClientFactory
as the name suggests, cldfs clientfactory is a class built on the factory pattern which returns a runtime instance or a test instance depending on the context since you would've already written code using cldfs client static methods, the first step would be to modify this code to use cldfs clientfactory 's instance methods instead don't worry, this would be simple enough since signatures for each method in both of these classes remain the same here's an example of how to change such a piece of code, we'll take for example the create attachments docid\ yvh dhtsakkluksjr t7y method