10 May 2016 13:18:49 UTC
- Distribution: Test-Mock-Wrapper
- Module version: 0.18
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (1006 / 0 / 114)
- KwaliteeBus factor: 0
- % Coverage
- License: perl_5
- Perl: v5.18.0
- Download (21.22KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- COPYRIGHT AND LICENSE
Test::Mock::Wrapped::Verify - Part of the Test::Mock::Wrapper module
my $verifier = $wrapper->verify('bar'); $verifier->at_least(2)->at_most(5); $verifier->with(['zomg'])->never;
Instances of this class are returned by Test::Mock::Wrapper::verify to allow for flexible, readible call verification with objects mocked by Test::Mock:Wrapper
Returns an array of arrays representing all the calls to the mocked method which match any criteria added via a "with" call.
This returns a new verifier object with a call list which has been filtered using the supplied matcher. See Test::Deep for information about matcher syntax.
Assert this method was called exactly N times. This is equivelent to
Assert this method was never called. This is syntatic sugar, equivilent to
Assert this method was called one time. This is syntatic sugar, equivilent to
Assert this method was called at least N times.
Assert this method was called at most N times.
Dave Mueller <email@example.com>
This software is copyright (c) 2015 by Dave Mueller.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Test::Mock::Wrapper, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Test::Mock::Wrapper
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|