isSpecRunning = function() {
        return !!currentSpec;
      }
@ngdoc method
@name $httpBackend#whenJSONP
@module ngMockE2E
@description
Creates a new backend definition for JSONP requests. For more info see `when()`.

@param {string|RegExp} url HTTP url.
@returns {requestHandler} Returns an object with `respond` and `passThrough` methods that
  control how a matched request is handled.