mlively/Phake — pull request #139 by mlively (2014-04-19 16:16:28+00:00)
Title: Ignore remaining matcher

Fixes #51 by introducing Phake::ignoreRemaining() this can be placed at the end of a parameter list to say that any remaining arguments can be ignored. It also changes Phake::anyParameters so that you must use it as the ony parameter in a call. In playing around with #103 it seemed like it could be very easy to introduce breaks that tests would never detect if I allowed for wildcarding.

For instance, a parameter gets added into the middle of a method's parameter list, but code using that method isn't updated but tests for that code are using anyParameters() next to the new parameter slot. The test would happily pass.