method
new

new(name='mock', stubs_and_options={})
public
Creates a new mock with a name (that will be used in error messages only) == Options:
- :null_object - if true, the mock object acts as a forgiving null object allowing any message to be sent to it.