Problem passing objects as method parameters

Help
Jon Skeet
2005-04-11
2013-03-22
  • Jon Skeet
    Jon Skeet
    2005-04-11

    Absolutely - it's all a case of providing an appropriate matcher, basically.

    One thing I'm currently considering is whether it would be useful to have a matcher which (when in "record" mode) treated null as "something may be passed as this parameter, but don't worry about what it is" which would allow the checking of some parameters but not others. It shouldn't be too hard to write, and could be quite useful.