Steven Lee > Test-Magpie > Test::Magpie::When

Download:
Test-Magpie-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

Test::Magpie::When - The process of stubbing a mock method call

DESCRIPTION ^

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.

AUTHORS ^

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: