new (Spec::Mocks::Mock)

    # File lib/spec/mocks/mock.rb, line 10
          def initialize(name='mock', stubs_and_options={})
            if name.is_a?(Hash) && stubs_and_options.empty?
              stubs_and_options = name
              build_name_from_options stubs_and_options
            else
              @name = name
            end
            @options = parse_options(stubs_and_options)
            assign_stubs(stubs_and_options)
          end