Skip to main content
I am on the final unit of the module - and I wrote method 2 (the first method is given as part of the learning). I know it's wrong (as I have run tests) and I've played with a variety of things, but don't know enough apex to figure out what's wrong/what to do about it. Unit Testing Trailhead assistance - Use MOcks and Stub Objects
7 answers
  1. Dec 27, 2020, 12:45 AM
    Hi Christi,

     

    The argument is a string.

     

    result = ExternalSearch.googleIt('Did not recieve a 200 status code: ' + '500');
0/9000