I am using the version of minitest with Ruby 1.9.3 How do I test for multiple invocations of a mock with it? I need something like
mockObject.expect.times(2) :method, [return_1 first time, return_2 second time]
mockObject.verify
Is there a way to achieve this?