Search results for "module:Test::Pockito"
Test::Pockito - Inspired by Mockito, a library to build mock objects for test driven development
A mock object is a thing that imitates something else that may be hard to setup or can be brittle. Examples of such are databases, network connections, and things deemed non trivial that may involve state. The following is an overly complicated class...
EXUSSUM/Test-Pockito-0.02 - 27 Jul 2010 20:04:16 UTC
Test::Pockito::Exported - A version of Pockito that's more terse.
$pocket is handled for you. Subs are exported into your namespace that interact with it. Available to you without a reference to a Pockito object are * mock( @_ ) * when( .. ) * report_expected_calls * expected_calls Some calls are created to access ...
EXUSSUM/Test-Pockito-0.02 - 27 Jul 2010 20:04:16 UTC
Test::Pockito::DefaultMatcher
Default implementation of matching. If none of the any_* subs are used for matching, then it reverts to a ne op for matching....
EXUSSUM/Test-Pockito-0.02 - 27 Jul 2010 20:04:16 UTC