method

expects_index_of

expects_index_of(param_name)
public

Returns the index of the first expected parameter with the given name