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.
when
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.
Oliver Charles <oliver.g.charles@googlemail.com>
Steven Lee <stevenwh.lee@gmail.com>
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.
To install Test::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Magpie
CPAN shell
perl -MCPAN -e shell install Test::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.