module RSpec::Mocks::TestDouble

def assign_stubs(stubs)

def assign_stubs(stubs)
  stubs.each_pair do |message, response|
    Mocks.allow_message(self, message).and_return(response)
  end
end