Test::Magpie::When - The process of stubbing a mock method call
A mock object in stub mode to declare a stubbed method.
You generate this by calling
when in Test::Magpie with a mock object.
This object has the same API as the mock object - any method call will start the creation of a Test::Magpie::Stub, which can be modified to tailor the stub call. You are probably more interested in that documentation.
This software is copyright (c) 2013 by Oliver Charles.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.