module RSpec::Mocks

def self.teardown

each example, even if an error was raised during the example.
redefined on partial doubles). This _must_ be called after
Cleans up all test double state (including any methods that were
def self.teardown
  space.reset_all
  @space_stack.pop
  @space = @space_stack.last || @root_space
end