code: public static Matcher functionCallWithNumArgs(final String name, final int numArgs) {
      return allOf(functionCallWithNumArgs(numArgs), functionCall(name));
    }
docs: Returns a Matcher that matches any function call that has the given
  number of arguments and the given name.
  @param name The name of the function to match. For non-static functions,
  this must be the fully qualified name that includes the type of the
  object. For instance: {@code ns.AppContext.prototype.get} will match
  {@code appContext.get} and {@code this.get} when called from the
  AppContext class.