vendor/gems/flexmock-0.8.5/lib/flexmock/mock_container.rb
def check_proper_mock(mock, method_name)
      unless mock.kind_of?(FlexMock)
        fail FlexMock::UsageError,
          "Conflicting mock declaration for '#{method_name}' in demeter style mock"
      end
    end
# Check that the given mock is a real FlexMock mock.
Check that the given mock is a real FlexMock mock.
Check that the given mock is a real FlexMock mock .
def check_proper_mock(mock, method_name)
      unless mock.kind_of?(FlexMock)
        fail FlexMock::UsageError,
          "Conflicting mock declaration for '#{method_name}' in demeter style mock"
      end
    end
def check_proper_mock ( mock , method_name ) unless mock . kind_of? ( FlexMock ) fail FlexMock :: UsageError , "Conflicting mock declaration for '#{method_name}' in demeter style mock" end end
Check that the given mock is a real FlexMock mock.
Check that the given mock is a real FlexMock mock .
mock
method_name