Announcement

Collapse
No announcement yet.

APEX Test Methods

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • APEX Test Methods

    When attempting to call the PaaS class in a test method I am receiving an error:

    Methods defined as TestMethod do not support Web Service callouts, test skipped.

    I looked at the examples provided, but all but two of those test methods generate the same error. It looks like the standard way to work around this is to create a Mock class, but I don't think this will work since the method I'm calling isn't the one that invokes the web service directly. Any suggestions on a workaround would be appreciated.

    Thanks,
    Park
Working...
X