I have an apex class which contains code only for web callouts and for this class I get coverage equivalent to 9% since actual web callouts are not a part of tests. So how am I supposed to increase code coverage for this class? I am not sure whether this % will allow the code to be deployed on PROD from Sandbox.
Basically I need to move 2 classes and 1 trigger to PROD with coverage as:
- Trigger - 89%
- Class 1 - 67%
- Class 2 (with Web callouts) - 9%