class Mocha::Mockery
def mock_impersonating_any_instance_of(klass)
def mock_impersonating_any_instance_of(klass) add_mock(Mock.new(self, ImpersonatingAnyInstanceName.new(klass), AnyInstanceReceiver.new(klass))) end
def mock_impersonating_any_instance_of(klass) add_mock(Mock.new(self, ImpersonatingAnyInstanceName.new(klass), AnyInstanceReceiver.new(klass))) end